Dear all,
It seems that drupal.org implements a way of automatically logout the users. I want to setup this feature on my site, could you please give me some feedback about this while I'm not sure in the settings I already did on my own site.
Regards,
Eric

Comments

micha_1977’s picture

afaik there is no "automatic" logout, but a session time setting, im still logged in, even when i close my browser now and open drupal.org the next day

-micha
work in progress with Drupal 4.6: langmi.de

ec’s picture

By now with safari on tiger, I'm logged out after less than a night without activity. Any advise ? eric

micha_1977’s picture

maybe your browser has special cookie settings ?

drupal starts a session, which sends a cookie to the browser (if it doesn exist already)

if the cookie is deleted --> session lost/closed
if the session lifetime (php setting) is over --> session lost/closed

on some hosts you can change the php settings for sessions

-micha
work in progress with Drupal 4.6: langmi.de

azote’s picture

This is happenning to me too....

so if I change my .htaccess and add:

php_value session.cookie_lifetime = 200000

insted of the value by default which is 0.that accordind to the php.ini says:
; Lifetime in seconds of cookie or, if 0, until browser is restarted.

will make a change ?

kbahey’s picture

If you are using 4.6, then change the number of seconds the session cookie will be valid for.

This is the line that has session.cookie_lifetime in it.

For 4.5 and before, this can be done in .htaccess.

--
Consulting: 2bits.com
Personal: Baheyeldin.com

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba

Bèr Kessels’s picture

in settings.php, change he value for
session.cookie_lifetime into

ini_set('session.cookie_lifetime',  0);

Then the sessionwill last until you close the browser.
---
Next time, please consider filing a support request.

[Bèr Kessels | Drupal services www.webschuur.com]