By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,604 Members | 858 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,604 IT Pros & Developers. It's quick & easy.

Logout session-problem

P: 1
Ive destroyed the session by "session_destroy();" on my logout page.
But after logging out when it goes to login page. but if i paste the previusly visited link it enters until and unless i close the browser window
Ive also unset the session var. and unregister it too. but problem remains same...
PLs help me out! its urgent
how to logout properly by adding correct session destroy code.
Thanks in advance
May 26 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 5,821
Heya, annie123. Welcome to TSDN!

Ive destroyed the session by "session_destroy();" on my logout page.
Make sure you use session_start() before you session_destroy().
May 26 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.