Jump to content

Firefox doesn't reload


protocol6v

Recommended Posts

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

  • 3 weeks later...

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.