[support] Session problems

Earnie Boyd earnie at users.sourceforge.net
Tue Jun 24 02:31:37 UTC 2008


Quoting Daniel Carrera <daniel.carrera at zmsl.com>:

> Another thought: Where do you configure how long sessions last before
> they expire? My first guess was to go to settings.php and change:
>
> ini_set('session.cache_expire', 200000);
>
> To a smaller value. But that didn't do it.
>
> I also have set:
>
> ini_set('session.cookie_lifetime',  0);
>

This would cause the user to be logged out when the browser closes.

> Anyways, maybe if sessions expired sooner I could minimize the problems
> that I'm having.
>

I see at http://drupal.org/node/188710 that you should also 
ini_set('session.use_only_cookies', 0); in the settings.php file.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/



More information about the support mailing list