RE: [PHP] HELP, problems with sessions.....

2001-05-09 Thread Johnson, Kirk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 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

Re: [PHP] HELP, problems with sessions.....

2001-05-09 Thread Bruno Boettcher
On Wed, May 09, 2001 at 09:30:27AM -0600, Johnson, Kirk wrote: You should not have to call session_encode() to get sessions to work. Make uhm, i used session_encode to print out the things for debugging session_start(); the first line on each page where you want to use session variables.

RE: [PHP] HELP, problems with sessions.....

2001-05-09 Thread Johnson, Kirk
My guess is one server has register_globals on, the other has register_globals off. Try this change in your code: instead of assigning a value to $HTTP_SESSION_VARS[toto], instead assign a value to $toto. You will then see a value for $toto in the echo session_encode(). $HTTP_SESSION_VARS[toto]