omain", $domain_name)
Works a treat now, the server was saving the session cookie for the wrong
url and hence when the secoudn page was called in the same browser it wa not
able to collect up the session variables as the domain names were different.
Thanks again,
Regards
Charlie.
"Charles C
Dupont" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I would do
script 1 :
$_SESSION['test'] = "hello world";
and in script2 :
print($_SESSION['test']);
vincent
-Original Message-
From: Charles Collins [mailto:[EMAIL PROTECTED]
Sent: mardi
world";
and in script2 :
print($_SESSION['test']);
vincent
-----Original Message-
From: Charles Collins [mailto:[EMAIL PROTECTED]
Sent: mardi 20 avril 2004 17:44
To: [EMAIL PROTECTED]
Subject: [PHP] session variables
I have two test files running on a server, which is giving me a h
I have two test files running on a server, which is giving me a headache,
due to the fact the session variables are not been maintained across the two
pages.
The server is running ...
PHP Version = 4.0.5
register_globals = ON
Session Support = Enabled
session.auto_start = Off
session.cache_expir
4 matches
Mail list logo