Contributions

Other (Category Index)
Search: 

File based sessions garbage collection.

File based sessions garbage collection.

1) add file to includes directory

2) in application_top.php

add include(DIR_WS_INCLUDES.'clear_sessions.php');

or if you would like the spiders to do it for you :

if ($spider_flag) include(DIR_WS_INCLUDES.'clear_sessions.php');


session lifetime is in the file
session directory is set in admin as default setting.

Expand All / Collapse All

File based sessions garbage collection. 21 Jan 2006

File based sessions garbage collection.

1) add file to includes directory

2) in application_top.php

add include(DIR_WS_INCLUDES.'clear_sessions.php');

or if you would like the spiders to do it for you :

if ($spider_flag) include(DIR_WS_INCLUDES.'clear_sessions.php');


session lifetime is in the file
session directory is set in admin as default setting.

Note: Contributions are used at own risk.