All,
Probably a stupid question, but I’m developing a small site using WAMP (and Firefox to display the HTML produced), and I can’t find a way to start my site with a new session. The session persists from one window to the next, with all the user data in session, page count, etc.
How can I start a new session?
Thanks,
JDelage
EDIT: Related thread of interest to others: Firefox session cookies
Browser based options
Start a new browser session
If you can use Chrome then you can use the
File -> New Incognito Windowoption.In Firefox it is
Tools -> Start Private Browsing.These will start clean sessions in your browsers.
Delete the session cookie
You can delete the session cooking using the cookie management screen of your browser.
From PHP
You can create a simple script that destroys your session when it is called. For example you can have
logout.php:The manual page is over at
session_destroy().