RE: [PHP-WIN] Re: header-session problem
| From: | HKG) | Date: | Mon, 16 Feb 2004 10:51:58 +0000 |
| Subject: | RE: [PHP-WIN] Re: header-session problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22835@lists.php.net to get a copy of this message | ||
Thank u a lot for that information Alan!
(that explains some few things I have had no time to look into yet. ;)
-----Original Message-----
From: Alan McDonald
To: php-windows@lists.php.net
Sent: 2004-02-16 11:35
Subject: Re: [PHP-WIN] Re: header-session problem
session is a session ID and it's stored as a cookie. cookies persist but
when you setup php as a cgi it's a cgi appliaction - that means nothing
persists in the context of the application running on the server. Unlike
e.g. ASP where an application and a session has a persistance layer.
WHen you make an application start point on IIS with ASP and have a
global.asa file - this signifiies an application start point. You will
notice that you can "unload" the application and set new application and new
session variables each time you close the browser and staert a new session.
With CGI - that's not the case. You need to manage your own session with
cookies and the PHPSESSID cookie is where you start to do that.
Alan
Alan
"B.A.T. Svensson" <B.A.T.Svensson@lumc.nl> wrote in message
news:D291F33C586C8E48B95C26F8C805513A01A3D934@mail5.lumc.nl...
> Are saying that session can not persist over different pages?
>