Re: [PHP] Session variable under PHP 4.0.6

2003-03-05 Thread Steve Magruder
"Kirk Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If register_globals is "Off" in php.ini, then do the following: > > - do not use session_register(), etc. > - use $HTTP_SESSION_VARS for all accesses. I have code similar to Henry's running fine on both 4.0.5 and 4.2.3 se

RE: [PHP] Session variable under PHP 4.0.6

2003-03-03 Thread Johnson, Kirk
myVar'] = 'some new value'; print $HTTP_SESSION_VARS['myVar']; Kirk > -Original Message- > From: Henry Grech-Cini [mailto:[EMAIL PROTECTED] > Sent: Monday, March 03, 2003 10:29 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Session variable under PHP 4

Re: [PHP] Session variable under PHP 4.0.6

2003-03-03 Thread Henry Grech-Cini
th these two lines: > > $variable = "the variables value"; > session_register('variable'); > > This is because 'register_globals' is enabled in the php.ini file. > > Kirk > > > -Original Message- > > From: Henry Grech-Cini [mailto:[EMAIL P

RE: [PHP] Session variable under PHP 4.0.6

2003-03-03 Thread Johnson, Kirk
i file. Kirk > -Original Message- > From: Henry Grech-Cini [mailto:[EMAIL PROTECTED] > Sent: Monday, March 03, 2003 9:34 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Session variable under PHP 4.0.6 > > > Hi All, > > I'm having a problem with session v

[PHP] Session variable under PHP 4.0.6

2003-03-03 Thread Henry Grech-Cini
Hi All, I'm having a problem with session variables under PHP 4.0.6 on a secure server. I ran phpinfo and have attached the resulting page after the main body of this message. My test code looks like this Filename: index.php Page Start -- click here to go to the next page Page En