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('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