will be started WHEN session_start() is called
Stephen
- Original Message -
From: "Iggy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 5:21 PM
Subject: Re: [PHP-WIN] still sessions
> I have done this million times, but it doesn't
I have done this million times, but it doesn't work.
I declare the session variables like you said it, but the moment I go on the
next page a new session is started instead of retrieving the old one.
I don't know if there is something in the php.ini file that I still need to
set, but I am getting
AFAIK you can access them same way like in cookie
based sessions when SID is on.
HTH
Piotr
--- Iggy <[EMAIL PROTECTED]> wrote:
> ok I have a very simply question to which I have not
> found a good answer
> yet.
>
> I have disabled cookie based sessions, i.e I pass
> the session Id through the
>
Set session values like this
session_start();
$_SESSION["username"] = "sjohnson";
Get session values like this
session_start();
echo $_SESSION["username"];
The $_SESSION MUST be uppercase.
Charles Killmer
-Original Message-
From: Iggy [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04