[development] Auto logout when users close browser.

Jamie Holly hovercrafter at earthlink.net
Fri Jul 6 14:14:19 UTC 2012


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 
file:


ini_set('session.cookie_lifetime',  2000000);
ini_set('session.gc_maxlifetime',   200000);


Jamie Holly
http://www.intoxination.net
http://www.hollyit.net

On 7/6/2012 7:00 AM, Nam PHAM wrote:
> Hi,
>
> I try to delete my browser's cache, cookie, everything. But It still 
> not work.
>
> thanks
>
> On Fri, Jul 6, 2012 at 5:44 PM, Chi <advancec at gmail.com 
> <mailto: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
>     <mailto: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 <tel:%28%2B84%29%20932%20830%20330>
>         Email: + nampham at mbm.vn <mailto:nampham at mbm.vn>
>                    + allstarsmen at gmail.com <mailto:allstarsmen at gmail.com>
>         Skype: nampham-mbm
>         Yahoo: allstars_men
>
>
>
>
> -- 
> *Nam Pham*
> Phone: (+84) 932 830 330
> Email: + nampham at mbm.vn <mailto:nampham at mbm.vn>
>            + allstarsmen at gmail.com <mailto:allstarsmen at gmail.com>
> Skype: nampham-mbm
> Yahoo: allstars_men
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20120706/790f1aa1/attachment.html 


More information about the development mailing list