destroy session in drupal!!!

nirvaan - March 20, 2008 - 10:56

i noticed when a user logs in and doesnt log out. then when he closes the browser and reopens it. the user is still logged in. but i dont want this. i want the session to be destroyed after certain interval. how can session be handled in drupal. please suggest.... thank you.

Try Session expire

toma - March 20, 2008 - 11:30

Note that there was a

dman - March 20, 2008 - 11:54

Note that there was a problem with sessions on debian (and ubuntu) so expirys didn't happen without an extra tweak on the server. I can't recall if that was fixed, as it was dismissed as being a server problem.
If you are on debian based server, do a search.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

Set session.cookie_lifetime

apsivam - March 20, 2008 - 12:38

Set session.cookie_lifetime = 0 in settings.ini file
--
Cheers,
Sivanandhan, P. (a.k.a. apsivam)

hi apsivam, i didnt fine

nirvaan - March 28, 2008 - 10:07

hi apsivam,
i didnt fine settings.ini but i assumed u mean settings.php. i initialized the session.cookie_lifetime to 0. yet it didnt work. the user still remain logged in. any ideas!!!!!! thank you.

 
 

Drupal is a registered trademark of Dries Buytaert.