Session abandon

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
diego
Forum Newbie
Posts: 1
Joined: Fri Jun 28, 2002 6:46 am

Session abandon

Post 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!
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post 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.
User avatar
kilren
Forum Newbie
Posts: 5
Joined: Fri Jul 05, 2002 8:24 am
Location: FRANCE - Aix En Provence

end of session

Post 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
Post Reply