Hi, Check your settings.php file, drupal is setting the cookie lifetime as well using ini_set<http://php.net/ini_set>('session.cookie_lifetime', 2000000);
Cheers Peter Droogmans From: [email protected] [mailto:[email protected]] On Behalf Of Nam PHAM Sent: vrijdag 6 juli 2012 12:17 To: [email protected] Subject: Re: [development] Auto logout when users close browser. Hello Lee Rowlands, I have added two lines into .htaccess file but it doesn't work. "php_value session.cookie_lifetime 0 php_value session.gc_maxlifetime 0" Could you give me some ideas? thank you On Fri, Jul 6, 2012 at 4:39 PM, Nam PHAM <[email protected]<mailto:[email protected]>> wrote: Thank you for your quick response. I will try as you said and let you know the result later. On Fri, Jul 6, 2012 at 4:35 PM, Lee Rowlands <[email protected]<mailto:[email protected]>> wrote: edit the session.cookie_lifetime in .htaccess On Friday, 6 July 2012, Nam PHAM <[email protected]<mailto:[email protected]>> wrote: > Hello everybody, > > I have a problem with drupal 6. > I want users to log out automatically, after users close the Tab of browser, > or close browser. > At the moment, when users close browser and then open browser again, they > still logged in. > I have try by edit 'session.cookie_lifetime' in 'settings.php', but it > doesn't work. > Thanks in advance for any ideas. > -- > Nam Pham > Phone: (+84) 932 830 330 > Email: + [email protected]<mailto:[email protected]> > + [email protected]<mailto:[email protected]> > Skype: nampham-mbm > Yahoo: allstars_men > -- Nam Pham Phone: (+84) 932 830 330 Email: + [email protected]<mailto:[email protected]> + [email protected]<mailto:[email protected]> Skype: nampham-mbm Yahoo: allstars_men -- Nam Pham Phone: (+84) 932 830 330 Email: + [email protected]<mailto:[email protected]> + [email protected]<mailto:[email protected]> Skype: nampham-mbm Yahoo: allstars_men
