protocol6v Posted July 29, 2008 Share Posted July 29, 2008 Hi, I've been working on some code and I'm just about done but I have a small problem. When you login as one user, then view the files that you have, logout, then login as another user, you still see the files that were displayed in the other user until you reload the page again. This only happens in Firefox. Thanks! Link to comment https://forums.phpfreaks.com/topic/117164-firefox-doesnt-reload/ Share on other sites More sharing options...
ignace Posted July 29, 2008 Share Posted July 29, 2008 did you properly reset all values? please post some code so we can have a look at it Link to comment https://forums.phpfreaks.com/topic/117164-firefox-doesnt-reload/#findComment-602647 Share on other sites More sharing options...
protocol6v Posted July 29, 2008 Author Share Posted July 29, 2008 I don't have access to the files at the moment, but is there any specific values i should be looking for? Link to comment https://forums.phpfreaks.com/topic/117164-firefox-doesnt-reload/#findComment-602689 Share on other sites More sharing options...
TempleDMDKrazd Posted July 29, 2008 Share Posted July 29, 2008 when the person logged out did you destroy the session with session_destroy(); Link to comment https://forums.phpfreaks.com/topic/117164-firefox-doesnt-reload/#findComment-602695 Share on other sites More sharing options...
protocol6v Posted July 29, 2008 Author Share Posted July 29, 2008 I tried that, yes. It's just very weird how it only does this in FireFox, which is typically the most compatible browser. IE and Safari work fine. Link to comment https://forums.phpfreaks.com/topic/117164-firefox-doesnt-reload/#findComment-602710 Share on other sites More sharing options...
protocol6v Posted August 19, 2008 Author Share Posted August 19, 2008 I'm still trying to get this to work. Here is the code that runs when users logout: case 'logout': { // clear all cookies $dm = $UPL['CONFIGS']['COOKIE_DOMAIN']; setcookie ( 'files_username', '', -1, '/', $dm ); setcookie ( 'fiels_userid', '', -1, '/', $dm ); setcookie ( 'files_password', '', -1, '/', $dm ); session_destroy(); header ( 'Location: account.php?action=login' ); } break; I added the session_destroy in, which did not seem to help at all. Link to comment https://forums.phpfreaks.com/topic/117164-firefox-doesnt-reload/#findComment-620089 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.