tags:

views:

59

answers:

1

Hi All, How can i set the session time out in PHP if the user stays inactive for a certain time in a web page or when the user close the browser tab. Please help me to solve this.

+2  A: 

check the links

http://stackoverflow.com/questions/520237/how-do-i-expire-a-php-session-after-30-minutes

session time out

Azhar
The second link is wrong. *session.cache\_expires* has nothing to do with the expiry of the session.
Gumbo
thanks for the correction.
Azhar