mistertylersmith Posted March 21, 2008 Share Posted March 21, 2008 Once users on my site login, I have a frameset open and this is what I use for navigation. My question is once a user clicks on logout, I want the frames to disappear so the page looks like it would if it were the first time you went to it. this is the code for my logout script: <?php require('functions.php'); session_start(); session_destroy(); session_write_close(); header('Location: ../index.php'); ?> anyone have any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/97208-making-frames-disappear-after-logging-out/ Share on other sites More sharing options...
Lamez Posted March 21, 2008 Share Posted March 21, 2008 why don't you just include a menu on your head file? Quote Link to comment https://forums.phpfreaks.com/topic/97208-making-frames-disappear-after-logging-out/#findComment-497389 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.