Auto logout when users close browser.
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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
edit the session.cookie_lifetime in .htaccess On Friday, 6 July 2012, Nam PHAM <nampham@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
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@previousnext.com.au> wrote:
edit the session.cookie_lifetime in .htaccess
On Friday, 6 July 2012, Nam PHAM <nampham@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
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@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@previousnext.com.au> wrote:
edit the session.cookie_lifetime in .htaccess
On Friday, 6 July 2012, Nam PHAM <nampham@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
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@drupal.org [mailto:development-bounces@drupal.org] On Behalf Of Nam PHAM Sent: vrijdag 6 juli 2012 12:17 To: development@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@mbm.vn<mailto:nampham@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@previousnext.com.au<mailto:lee.rowlands@previousnext.com.au>> wrote: edit the session.cookie_lifetime in .htaccess On Friday, 6 July 2012, Nam PHAM <nampham@mbm.vn<mailto:nampham@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@mbm.vn<mailto:nampham@mbm.vn> + allstarsmen@gmail.com<mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men
-- Nam Pham Phone: (+84) 932 830 330 Email: + nampham@mbm.vn<mailto:nampham@mbm.vn> + allstarsmen@gmail.com<mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men -- Nam Pham Phone: (+84) 932 830 330 Email: + nampham@mbm.vn<mailto:nampham@mbm.vn> + allstarsmen@gmail.com<mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men
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@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@drupal.org [mailto: development-bounces@drupal.org] *On Behalf Of *Nam PHAM *Sent:* vrijdag 6 juli 2012 12:17 *To:* development@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@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@previousnext.com.au> wrote:****
edit the session.cookie_lifetime in .htaccess****
On Friday, 6 July 2012, Nam PHAM <nampham@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men ****
****
** **
-- ****
*Nam Pham*****
Phone: (+84) 932 830 330 Email: + nampham@mbm.vn****
+ allstarsmen@gmail.com****
Skype: nampham-mbm****
Yahoo: allstars_men****
** **
****
** **
-- ****
*Nam Pham*****
Phone: (+84) 932 830 330 Email: + nampham@mbm.vn****
+ allstarsmen@gmail.com****
Skype: nampham-mbm****
Yahoo: allstars_men****
** **
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
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@drupal.org [mailto:development-bounces@drupal.org] On Behalf Of Nam PHAM Sent: vrijdag 6 juli 2012 12:31 To: development@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@attiks.com<mailto:Peter@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@drupal.org<mailto:development-bounces@drupal.org> [mailto:development-bounces@drupal.org<mailto:development-bounces@drupal.org>] On Behalf Of Nam PHAM Sent: vrijdag 6 juli 2012 12:17 To: development@drupal.org<mailto:development@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@mbm.vn<mailto:nampham@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@previousnext.com.au<mailto:lee.rowlands@previousnext.com.au>> wrote: edit the session.cookie_lifetime in .htaccess On Friday, 6 July 2012, Nam PHAM <nampham@mbm.vn<mailto:nampham@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@mbm.vn<mailto:nampham@mbm.vn> + allstarsmen@gmail.com<mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men
-- Nam Pham Phone: (+84) 932 830 330 Email: + nampham@mbm.vn<mailto:nampham@mbm.vn> + allstarsmen@gmail.com<mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men -- Nam Pham Phone: (+84) 932 830 330 Email: + nampham@mbm.vn<mailto:nampham@mbm.vn> + allstarsmen@gmail.com<mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men -- Nam Pham Phone: (+84) 932 830 330 Email: + nampham@mbm.vn<mailto:nampham@mbm.vn> + allstarsmen@gmail.com<mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men
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@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@drupal.org [mailto: development-bounces@drupal.org] *On Behalf Of *Nam PHAM *Sent:* vrijdag 6 juli 2012 12:31
*To:* development@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@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@drupal.org [mailto: development-bounces@drupal.org] *On Behalf Of *Nam PHAM *Sent:* vrijdag 6 juli 2012 12:17 *To:* development@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@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@previousnext.com.au> wrote:****
edit the session.cookie_lifetime in .htaccess****
On Friday, 6 July 2012, Nam PHAM <nampham@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men ****
****
****
-- ****
*Nam Pham*****
Phone: (+84) 932 830 330 Email: + nampham@mbm.vn****
+ allstarsmen@gmail.com****
Skype: nampham-mbm****
Yahoo: allstars_men****
****
****
****
-- ****
*Nam Pham*****
Phone: (+84) 932 830 330 Email: + nampham@mbm.vn****
+ allstarsmen@gmail.com****
Skype: nampham-mbm****
Yahoo: allstars_men****
****
****
** **
-- ****
*Nam Pham*****
Phone: (+84) 932 830 330 Email: + nampham@mbm.vn****
+ allstarsmen@gmail.com****
Skype: nampham-mbm****
Yahoo: allstars_men****
** **
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
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@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
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@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@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
How is this related to development for or with Drupal. Please refrain from giving support in the development list. -- Earnie -- https://sites.google.com/site/earnieboyd
Hi, Check to cookie that gets set by Drupal, check the expire time From: development-bounces@drupal.org [mailto:development-bounces@drupal.org] On Behalf Of Nam PHAM Sent: vrijdag 6 juli 2012 13:00 To: development@drupal.org Subject: Re: [development] Auto logout when users close browser. 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@gmail.com<mailto:advancec@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@mbm.vn<mailto:nampham@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@mbm.vn<mailto:nampham@mbm.vn> + allstarsmen@gmail.com<mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men -- Nam Pham Phone: (+84) 932 830 330 Email: + nampham@mbm.vn<mailto:nampham@mbm.vn> + allstarsmen@gmail.com<mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men
This list is for Drupal core development. This question should be directed to support@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@gmail.com <mailto:advancec@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@mbm.vn <mailto:nampham@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@mbm.vn <mailto:nampham@mbm.vn> + allstarsmen@gmail.com <mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn <mailto:nampham@mbm.vn> + allstarsmen@gmail.com <mailto:allstarsmen@gmail.com> Skype: nampham-mbm Yahoo: allstars_men
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@earthlink.net>wrote:
This list is for Drupal core development. This question should be directed to support@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@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@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
Hi Nam, You try to clear cache. good luck, 2012/7/10 Nam PHAM <nampham@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@earthlink.net>wrote:
This list is for Drupal core development. This question should be directed to support@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@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@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- Hoàng Biên 0908830099
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@gmail.com> wrote:
Hi Nam, You try to clear cache. good luck,
2012/7/10 Nam PHAM <nampham@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@earthlink.net>wrote:
This list is for Drupal core development. This question should be directed to support@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@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@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@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
-- Hoàng Biên 0908830099
-- *Nam Pham* Phone: (+84) 932 830 330 Email: + nampham@mbm.vn + allstarsmen@gmail.com Skype: nampham-mbm Yahoo: allstars_men
participants (7)
-
Biên Hoàng -
Chi -
Earnie Boyd -
Jamie Holly -
Lee Rowlands -
Nam PHAM -
Peter Droogmans