RE: [PHP] HELP, problems with sessions.....
| From: | Johnson, Kirk | Date: | Wed, 09 May 2001 15:30:27 +0000 |
| Subject: | RE: [PHP] HELP, problems with sessions..... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52121@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: bboett@erm1.u-strasbg.fr [mailto:bboett@erm1.u-strasbg.fr]
> Subject: [PHP] HELP, problems with sessions.....
> so what aren'T i understanding here? shouldn't all the vars and values
> be in the encoded string??? and what could cause the loss of
> the session
> vars on my server, what can i do to debug this?
You should not have to call session_encode() to get sessions to work. Make
session_start(); the first line on each page where you want to use session
variables. Use session_register() on each variable you want to be a session
variable. If you still have problems, please post your code so we can look
for bugs. Good luck!
Kirk