[development] Auto logout when users close browser.
nampham at mbm.vn
Tue Jul 10 09:05:06 UTC 2012
I did it, I can make it work. I did like this:
- I change the session cookie lifetime in settings.php to 0.
- Delete cookie in browser.
- Don't allow browser save cookie anymore.
- Login and close browser, then re-open browser, I have to login again.
Btw, I would like to thank everybody very much.
On Fri, Jul 6, 2012 at 9:14 PM, Jamie Holly <hovercrafter at earthlink.net>wrote:
> This list is for Drupal core development. This question should be
> directed to support at drupal.org.
> Your session cookie lifetimes are set in your sites/default/settings.php
> ini_set('session.cookie_lifetime', 2000000);
> ini_set('session.gc_maxlifetime', 200000);
> Jamie Hollyhttp://www.intoxination.net http://www.hollyit.net
> On 7/6/2012 7:00 AM, Nam PHAM wrote:
> I try to delete my browser's cache, cookie, everything. But It still not
> On Fri, Jul 6, 2012 at 5:44 PM, Chi <advancec at gmail.com> wrote:
>> don't forget to clear your browser's cache and cookies as you work trying
>> it out
>> On Jul 6, 2012 4:55 AM, "Nam PHAM" <nampham at mbm.vn> 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 <%28%2B84%29%20932%20830%20330>
>>> Email: + nampham at mbm.vn
>>> + allstarsmen at gmail.com
>>> Skype: nampham-mbm
>>> Yahoo: allstars_men
> *Nam Pham*
> Phone: (+84) 932 830 330
> Email: + nampham at mbm.vn
> + allstarsmen at gmail.com
> Skype: nampham-mbm
> Yahoo: allstars_men
Phone: (+84) 932 830 330
Email: + nampham at mbm.vn
+ allstarsmen at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development