Re: Sessions

From: Date: Wed, 09 Jan 2002 02:12:47 +0000
Subject: Re: Sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79839@lists.php.net to get a copy of this message
I actually fixed the problem with the following code: session_start(); $HTTP_SESSION_VARS['sess_id']=$PHPSESSID; Except that it will not assign an actual value until i hit refress on my browser. Any ideas for a fix? Thanks, Ryan Kelley "Kirk Johnson" <kjohnson@zootweb.com> wrote in message news:01A4B59FD1EBD311838100A0C98BE0D9AD5EFE@chef... > "!sess_id|" means that $sess_id has been registered, but it hasn't been > assigned a value. Is register_globals on or off in php.ini? Did you assign a > value to $sess_id? > > Kirk > > > -----Original Message----- > > From: Ryan Kelley [mailto:kelleyr@internetinvisions.com] > > Sent: Monday, January 07, 2002 8:59 PM > > To: php-general@lists.php.net > > Subject: [PHP] Sessions > > > > > > I am having problems getting the sessions to work. when i input the > > following code: > > > > session_start(); > > session_register("sess_id"); > > > > i get nothing registered. I have checked the sess_***etc... > > files in /tmp > > and they say: > > > > !sess_id| > > > > Does anybody have any ideas why this is? >

« previous php.general (#79839) next »