Session confusion :-(
| From: | Dave Carrera | Date: | Sat, 16 Feb 2002 14:55:40 +0000 |
| Subject: | Session confusion :-( | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16993@lists.php.net to get a copy of this message | ||
Hi All
I am send variable values via set links i.e.:
http://domian_name.com/page.php?category=1
http://domian_name.com/page.php?category=2
http://domian_name.com/page.php?category=3
Etc etc
The value is sent to a session. THIS WORKS BUT.....
If I click on the first link session variable category is set to 1.
But if I then click on the send , third, forth or whatever link
Session variable is still set to 1.
I have tried
If(ISSET($category)){
Unset($category);
Session_register(category) // hoping it would accept the new sent value.
}
No Go
Can anyone throw some light on this please.
As Always I am grateful for any pointers or exampled help
:-)
Dave Carrera
Php / MySql Development
Web Design
Site Marketing
http://www.davecarrera.com