How to remove empty Session Var from URL
| From: | Monty | Date: | Tue, 03 Jun 2003 06:34:45 +0000 |
| Subject: | How to remove empty Session Var from URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-149888@lists.php.net to get a copy of this message | ||
I noticed that for users with cookies turned off, once they log out (in
which I unset and destroy all session vars) and are returned to the Log-in
page, all of my links have an empty PHPSESSID= tag at the end like this:
<a href="help.php?PHPSESSID=">
This prevents someone from logging in again immediately unless they first
leave the site then come back to clear the empty PHPSESSID var from all the
URLS. How can I make this stop?
Thanks
Monty