Drupal timeout - how to amend timeout length? -


I am looking to create a custom module that hooks into the Drupal timeout process. A quick ping is required to fire on another server when a user bar outside - so that they are logged out of the system on other servers.

It's a matter ... I'm not getting any documents about how Drupal manages it from time to time. What I can find is all related to PHP.ini.

Will it surprise me that it is possible to fire an event from time to time?

in / sites / default / settings.php change

ini_set ('Session.cookie_lifetime', 2000000);

2000000 seconds is 23 days which is actually stupid default timeout, you can change something:

3600 (1 hour) 10800 (3 Hours) 86400 (1 day)


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -