Page 1 of 1

Session abandon

Posted: Fri Jun 28, 2002 6:46 am
by diego
:?
Hi to all.

I would like to know if a sort of "global.asa" exists in PHP.

What I have to do is abandon a session when the browser is closed.

Any idea?

Many thanks!

Posted: Fri Jun 28, 2002 6:59 am
by jason
A session is closed when a browser is closed.

Also, PHP doesn't have a global.asa, but that is more to that fact that ASP and PHP are completely different things, with ASP merely being a framework and PHP being an actual programming language.

end of session

Posted: Fri Jul 05, 2002 9:05 am
by kilren
In PHP session end automaticaly when Lifetime is reach until last connection.
Fortunatly if you want to handle session variables when the session is over it's possible you just need to rewrite the session handler
espacialy the garbage collector witch usualy delete a dead session