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

2002-05-15 Thread matt stewart
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! -Original Message- From: Terry Romine [mailto:[EMAIL PROTECTED]] Sent: 15 May 2002 15:49 To: [EMAIL

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

2002-05-15 Thread Terry Romine
I believe you.. I added $HTTP_SESSION_VARS['e_address'] = $e_address; in my process form code and it's still not updating the var. snippit from select_class.php where I have reference to $e_address: session_register(e_address); ... switch($doAction) {

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

2002-05-15 Thread Terry Romine
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,

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

2002-05-15 Thread matt stewart
']=$address; see if that makes any difference? -Original Message- From: Terry Romine [mailto:[EMAIL PROTECTED]] Sent: 15 May 2002 16:40 To: matt stewart Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] session variables across several pages This is freaky. If I change the form method='get' I can see

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

2002-05-15 Thread Terry Romine
huh.. seems to work, now. I do the following: session_start(); session_register(form_data); if($doAction) { switch($doAction) { case Save Information: // save data in cookies $HTTP_SESSION_VARS['form_data'] =