Re: session problems
| From: | Nenad Djordjevic | Date: | Wed, 27 Nov 2002 11:43:20 +0000 |
| Subject: | Re: session problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126260@lists.php.net to get a copy of this message | ||
Hello Jason,
I had similar problem when I try to use global array
$HTTP_SESSION_VARS to manipulate with session variables in PHP version
4.1.x.
If you use PHP version < 4.2.0 you need to use function
session_register to add variable to session.
If you use PHP 4.2.0 (or greater) you need to use global array
_SESSION to manipulate with session variables.
________________________
Best regards,
Nenad Djordjevic mailto:nenad@diyomisoft.com
Diyomi Soft
http://www.diyomisoft.com/
Tuesday, November 26, 2002, 11:55:42 PM, you wrote:
JR> when using session registered variables
JR> i can only get them to save as session variables for one page
JR> then on the next page they are gone
JR> far as i can tell the variables are not getting written over or unset
JR> and the session is not gettting destroyed
JR> any other ideas what it might be?
JR> Jason