Re: [PHP] sessions and expirations and isolations

2012-01-16 Thread Stuart Dallas
On 16 Jan 2012, at 22:51, Haluk Karamete wrote: > Hi, in ASP, sessions expire when the client does not request an asp > page for more than 20 min. (The 20 min thing is a server level setting > - which can be changed by IIS settings ) And sessions work out of the > box. > > I use sessions a lot.

Re: [PHP] sessions and expirations and isolations

2012-01-16 Thread Haluk Karamete
Well Stuart, When I said this > In ASP, I create a virtual app at the IIS server - assigning a virtual > dir path to the app, and from that point on, any page being served > under that virtual path is treated as an isolated ASP app and thus the > sessions are kept isolated and not get mixed up by

Re: [PHP] sessions and expirations and isolations

2012-01-16 Thread Stuart Dallas
On 17 Jan 2012, at 02:21, Haluk Karamete wrote: > Well Stuart, > > When I said this > >> In ASP, I create a virtual app at the IIS server - assigning a virtual >> dir path to the app, and from that point on, any page being served >> under that virtual path is treated as an isolated ASP app and t

Re: [PHP] sessions and expirations and isolations

2012-01-16 Thread Haluk Karamete
great exp. now I'm heading towards the http://www.php.net/manual/en/session.configuration.php#ini.session.cookie_path. you definitely deserved a good chocolate cookie! On Mon, Jan 16, 2012 at 6:38 PM, Stuart Dallas wrote: > On 17 Jan 2012, at 02:21, Haluk Karamete wrote: > >> Well Stuart, >> >>

Re: [PHP] sessions and expirations and isolations

2012-01-17 Thread Haluk Karamete
Back to this session expiration... that old quote said... The default behaviour for sessions is to keep a session open indefinitely and only to expire a session when the browser is closed. This behaviour can be changed in the php.ini file by altering the line: session.cookie_lifetime = 0 If you

Re: [PHP] sessions and expirations and isolations

2012-01-18 Thread Stuart Dallas
On 17 Jan 2012, at 23:17, Haluk Karamete wrote: > Back to this session expiration... > > that old quote said... > > The default behaviour for sessions is to keep a session open > indefinitely and only to expire a session when the browser is closed. > This behaviour can be changed in the php.ini

RE: [PHP] sessions and expirations and isolations

2012-01-18 Thread Ford, Mike
> -Original Message- > From: Stuart Dallas [mailto:stu...@3ft9.com] > Sent: 18 January 2012 12:02 > > On 17 Jan 2012, at 23:17, Haluk Karamete wrote: > > > I'm afraid session.cookie_lifetime = 0 keeps all session data ( > that > > is past and present ) in server memory until a server rest

Re: [PHP] sessions and expirations and isolations

2012-01-19 Thread tamouse mailing lists
On Tue, Jan 17, 2012 at 5:17 PM, Haluk Karamete wrote: > This brings the question to the following; > WHEN DOES THE SERVER KNOW THAT A USER IS REALLY GONE OR HE CLOSED HIS BROWSER? Just addressing this quesiton -- you are correct that the browser does not tell the application when it closes. What