Jump to content

problem with two sessions on logout


jasmeet

Recommended Posts

i am using sessions. first on admin folder and second on user folder. 

in admin folder, i use $_SESSION['username'];

in user folder, i use $_SESSION['username1'];

 

now when i click on logout button in localhost/xxx/admin/logout.php

i also logged out from localhost/xxx/logout.php.

 

is there a way.. not to be logged out from user panel when click logout button in admin panel????

Link to comment
https://forums.phpfreaks.com/topic/281948-problem-with-two-sessions-on-logout/
Share on other sites

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.