Re: Session confusion :-(

From: Date: Mon, 18 Feb 2002 13:38:54 +0000
Subject: Re: Session confusion :-(
Groups: php.db 
Request: Send a blank email to php-db+get-17020@lists.php.net to get a copy of this message
I presume that the session is not updating because PHP does not automatically overwrite session variables. You should use something like this: $category = $HTTP_GET_VARS["category"]; session_register("category"); Session register can be called more than once, and has no effect on current session variables with the same name. See if that works, and if it doesn't have a look at this... http://www.php.net/manual/en/language.variables.predefined.php Adam

« previous php.db (#17020) next »