[development] Auto logout when users close browser.

Nam PHAM nampham at mbm.vn
Tue Jul 10 09:18:50 UTC 2012


Hi,

I did it already, now it works.

btw, thank you.

On Tue, Jul 10, 2012 at 4:10 PM, Biên Hoàng <hoangbienit at gmail.com> wrote:

> Hi Nam,
> You try to clear cache.
> good luck,
>
>
> 2012/7/10 Nam PHAM <nampham at mbm.vn>
>
>> Hi,
>>
>> 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
>>> file:
>>>
>>>
>>> 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:
>>>
>>> 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> 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
>>>
>>>
>>>
>>>
>>
>>
>> --
>> *Nam Pham*
>> Phone: (+84) 932 830 330
>> Email: + nampham at mbm.vn
>>            + allstarsmen at gmail.com
>> Skype: nampham-mbm
>> Yahoo: allstars_men
>>
>>
>
>
> --
> Hoàng Biên
> 0908830099
>



-- 
*Nam Pham*
Phone: (+84) 932 830 330
Email: + nampham at mbm.vn
           + 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/20120710/c3c46470/attachment-0001.html 


More information about the development mailing list