In PHP, if you use a session to determine whether a user is logged in or not, you can do so when you exit:
Session_Start ();
Session_destroy ();
The session indicates that it has ended. The next sentence should be written JS, so that the page jumps.
If it's a frames page, don't use location directly. Because this will be in a small frame page jump, the original intention must be the whole frame to jump past ah. So add "parent." Before location.
The whole process is as follows (for frames pages only):
Copy the Code code as follows:
Session_Start ();
Session_destroy ();
To make the entire page of the frame jump to the landing page
echo "";
?>
http://www.bkjia.com/PHPjc/736847.html www.bkjia.com true http://www.bkjia.com/PHPjc/736847.html techarticle in PHP, if a session is used to determine whether a user is logged in or not, it can be so: session_start (); Session_destroy (); session is the end. The next sentence should be written ...