Whenever if we click on profile link and that link is paste in another browser at that time anybody can see the data. which is not secured, for security point of view what are the priviliages we have to take ?? how we avoid when anybody click on profile link then user can directely come to login page ??
can you please elaborate on this?? Are you talking about this matter while we are doing coding or what??
using code session or to be more specific session destroy code it is a php code. session_destroy() destroys all of the data associated with the current session even if you paste the url to another browser it will not open the page for it has restriction. This code only put in a more private website that members or administrators can only access. Wrong input of code can neglect it's function.