Do you have a call to session_start() in the second file? You need this to
access the session variables on the second page.
Kirk
-Original Message-
From: N.D. Andini [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 3:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Can not get
Yes, you have to call session_start() on every page you want to access/pass
session variables
Eric
- Original Message -
From: Johnson, Kirk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 10:22 AM
Subject: RE: [PHP] Can not get session value???
Do you have
On Thu, 4 Apr 2002, N.D. Andini wrote:
and on second file mysecond.php, I get value of those session to check
session value like below:
Here add:
session_start();
print $ses_useid;
print $ses_usename;
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
3 matches
Mail list logo