I actually fixed the problem with the following code:
Except that it will not assign an actual value until i hit refress on my
browser. Any ideas for a fix?
"Kirk Johnson" <[EMAIL PROTECTED]> wrote in message
> "!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
> value to $sess_id?
> > -----Original Message-----
> > From: Ryan Kelley [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, January 07, 2002 8:59 PM
> > To: [EMAIL PROTECTED]
> > 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?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]