[PHP] session encode and session decode question

2002-08-30 Thread Victor
I'm trying to get the one variable I stored insite a session, the variable's name is $username I am trying to do it like this, but I think it's wrong: $PHPSESSID = session_encode(); $username = session_decode(); It tells me I have wrong parameters for session decode. What am I supposed to encod

RE: [PHP] session encode

2001-02-13 Thread Peter Houchin
dress"; and also i can't get a value for the email ... so the session_register('email') returns nothing ... do you have any ideas? -Original Message- From: Michael McGlothlin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:35 AM To: Peter Houchin

Re: [PHP] session encode

2001-02-13 Thread Michael McGlothlin
You don't need to use session_encode () in most situations. You can use sessions and they'll automaticlly encode your variables. Is that what you wondered? Peter Houchin wrote: > With session incode do you have to have it on every page where you have a > session_start() ? > > Peter > --

[PHP] session encode

2001-02-13 Thread Peter Houchin
With session incode do you have to have it on every page where you have a session_start() ? Peter