[development] Auto logout when users close browser.
Nam PHAM
nampham at mbm.vn
Fri Jul 6 10:47:17 UTC 2012
Hi,
I have just check via admin/reports/status/php, the cookie_lifetime set to
).
It seems it not work for me.
thanks
On Fri, Jul 6, 2012 at 5:37 PM, Peter Droogmans <Peter at attiks.com> wrote:
> Hi,****
>
> ** **
>
> Are you sure you are allowed to change the setting, if you go to
> admin/reports/status/php is the cookie_lifetime set to 0?****
>
> ** **
>
> Cheers****
>
> Peter Droogmans****
>
> ** **
>
> *From:* development-bounces at drupal.org [mailto:
> development-bounces at drupal.org] *On Behalf Of *Nam PHAM
> *Sent:* vrijdag 6 juli 2012 12:31
>
> *To:* development at drupal.org
> *Subject:* Re: [development] Auto logout when users close browser.****
>
> ** **
>
> Hi Peter,
>
> I have also changed this option already, but it still doesn't work.****
>
> ** **
>
> I changed it to 0, then I truncate table 'session', then I try to login
> and close****
>
> Fire Fox, then open Fire Fox, users still logged in.
>
> Did I do it right?****
>
> Do you have any ideas?****
>
> ** **
>
> thank you****
>
> On Fri, Jul 6, 2012 at 5:20 PM, Peter Droogmans <Peter at attiks.com> wrote:*
> ***
>
> 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:* development-bounces at drupal.org [mailto:
> development-bounces at drupal.org] *On Behalf Of *Nam PHAM
> *Sent:* vrijdag 6 juli 2012 12:17
> *To:* development at drupal.org
> *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 <nampham at mbm.vn> 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 <
> lee.rowlands at previousnext.com.au> wrote:****
>
> edit the session.cookie_lifetime in .htaccess****
>
>
>
> On Friday, 6 July 2012, 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
> > 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****
>
> ****
>
>
>
> ****
>
> ** **
>
> -- ****
>
> *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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20120706/4dfdca12/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: session.png
Type: image/png
Size: 31088 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20120706/4dfdca12/attachment-0001.png
More information about the development
mailing list