jeeva Posted August 7, 2007 Share Posted August 7, 2007 hi frnds, i have one poblem that i cant able to destroy the session in mozilla browser. its working in IE perfectly.Still Session variables is there even after logout the page.But its not happening in IE. here my code Logout.php <?php session_start(); session_destroy(); header("Location:login.php"); any one can tell me wts the problem? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted August 7, 2007 Share Posted August 7, 2007 <?php session_start(); unset($_SESSION); session_destroy(); header("Location:login.php"); ?> try that Quote Link to comment Share on other sites More sharing options...
jeeva Posted August 8, 2007 Author Share Posted August 8, 2007 now its working but if i copy the url after login and open the new window and if i paste that url, the page is going in to that particular page it supposed to redirect to login page right?. but is redirecting in IE browser not in the mozilla ...... y? Quote Link to comment Share on other sites More sharing options...
dbo Posted August 8, 2007 Share Posted August 8, 2007 I think you need to tell it to not cache certain pages that require session. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.