How do I clear $_SESSION when my debug session ends? |
Site Admin
|
Php keeps tracking sessions using either cookie or a dedicated session variable passed via GET.
In first case, just close [Output] window with browser and it will drop all non-persistent cookies. In case of GET variables you have to either remove it or change its value to any bogus one. Regarding sessions themselves, they are stored either in files (in most cases) or in database. In rare cases they are stored in shared memory. Check your session-related php settings. In case of files, the easiest way to drop all sessions is to remove these files |
||||||||||||
|
|
Thank you for your quick and clear response!
Closing the output tab didn't seem to have an effect, but looking at php.ini and finding and killing the session files worked perfectly. Chris |
||||||||||||
|
How do I clear $_SESSION when my debug session ends? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by