RE: [PHP-DB] session variables across several pages

From: Date: Wed, 15 May 2002 15:46:48 +0000
Subject: RE: [PHP-DB] session variables across several pages
Groups: php.db 
Request: Send a blank email to php-db+get-19198@lists.php.net to get a copy of this message
i would consider trying changing the variable names - so the field on the form would be called "address", therefore the variable passed through would be $address, and then have the session variable called "sess_address" or something like that, and then do $HTTP_SESSION_VARS['sess_address']=$address; see if that makes any difference? -----Original Message----- From: Terry Romine [mailto:eatrom@blazing-trails.com] Sent: 15 May 2002 16:40 To: matt stewart Cc: php-db@lists.php.net Subject: Re: [PHP-DB] session variables across several pages This is freaky. If I change the <form method='get'> I can see the e_address coming in correctly, but it gets changed back to old value -- by the session_register('e_address')?? should I have something along the line of if(!$e_address) register_session('e_address'); ??? On Wednesday, May 15, 2002, at 09:57 AM, matt stewart wrote: > You need to look up $HTTP_SESSION_VARS['name'] - that's how to change > the > variables when they are already set...... > i think most people have this problem when they first use sessions! > Terry Romine Web Developer JumpInteractive.com

« previous php.db (#19198) next »