[PHP] sessions trouble

2002-06-18 Thread Leston Drake
Hello, I am unable to retrieve session variables on my local server. I'm using some code like this to test it (thanks to Ed): -- session_start(); echo : . $_SESSION[node] . br; $_SESSION[node] = 10.2; echo : . $_SESSION[node] . br;

RE: [PHP] sessions trouble

2002-06-18 Thread Johnson, Kirk
Drake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: [PHP] sessions trouble Hello, I am unable to retrieve session variables on my local server. I'm using some code like this to test it (thanks to Ed

RE: [PHP] sessions trouble

2002-06-18 Thread Leston Drake
. Change your code to this style: session_start(); $node = 10.2; session_register('node'); echo $node; Kirk -Original Message- From: Leston Drake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: [PHP] sessions trouble Hello

RE: [PHP] sessions trouble

2002-06-18 Thread Leston Drake
-Original Message- From: Leston Drake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: [PHP] sessions trouble Hello, I am unable to retrieve session variables on my local server. I'm using some code like this to test

Re: [PHP] sessions trouble

2002-06-18 Thread Rick Kukiela
: [PHP] sessions trouble I have register_globals=Off (which is what I prefer to program for). But if I change register_globals to On, and use the session_register() function, it works. With register_globals Off, using $_SESSION doesn't work. I thought that $_SESSION would work regardless

Re: [PHP] sessions trouble

2002-06-18 Thread Leston Drake
: [EMAIL PROTECTED] Sent: Tuesday, June 18, 2002 1:28 PM Subject: RE: [PHP] sessions trouble I have register_globals=Off (which is what I prefer to program for). But if I change register_globals to On, and use the session_register() function, it works. With register_globals Off, using

RE: [PHP] sessions trouble

2002-06-18 Thread Johnson, Kirk
; session_register('node'); echo $node; Kirk -Original Message- From: Leston Drake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 11:48 AM To: [EMAIL PROTECTED] Subject: [PHP] sessions trouble Hello, I am unable to retrieve session variables on my local

RE: [PHP] sessions trouble

2002-06-18 Thread Leston Drake
$HTTP_SESSION_VARS[]. -Original Message- From: Leston Drake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 12:29 PM To: Johnson, Kirk Cc: [EMAIL PROTECTED] Subject: RE: [PHP] sessions trouble I have register_globals=Off (which is what I prefer to program for). But if I

RE: [PHP] sessions trouble

2002-06-18 Thread Johnson, Kirk
PROTECTED]] Sent: Tuesday, June 18, 2002 3:30 PM To: Johnson, Kirk Cc: [EMAIL PROTECTED] Subject: RE: [PHP] sessions trouble I am using PHP 4.1.2, which I assume supports the $_SESSION global array. I've tried ...sigh... using $HTTP_SESSION_VARS, with the same result, unfortunately

RE: [PHP] sessions trouble

2002-06-18 Thread Ford, Mike [LSS]
-Original Message- From: Leston Drake [mailto:[EMAIL PROTECTED]] Sent: 18 June 2002 18:48 I am unable to retrieve session variables on my local server. [snp] On another server (http://www.lpsoftware.com/phptest/test5.php) it works as expected. But I can't figure out why it