09
Aug
How we can increase session timeout in oscommerce ?
- Category:
- ecommerce
- oscommerce
Posted On : August 9, 2013
| No Comment
You can increase your oscommerce store session timeout for catalog and for the admin . Session time is in the seconds. You will need to do it separately for the catalog and for the admin side.
For the catalog open includes/function/sessions.php file.
First find the following code in file:
View Code PHP
if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) { $SESS_LIFE = 1440; // 24 minutes } |
Replace the above code with following code :
View Code PHP
$SESS_LIFE = 3600; // 1 hour |
Just Change the 3600 seconds to whatever you want and it’s done .
For the admin do the same thing in admin/includes/functions/sessions.php.
- Tags: