241 Posted July 23, 2004 Posted July 23, 2004 catalog includes/functions/sessions.php if (STORE_SESSIONS == 'mysql') { if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) { $SESS_LIFE = 1440; is that what you want No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
fadedlazer Posted July 23, 2004 Posted July 23, 2004 What does this do? Why would we want to modify the session time
mark754 Posted July 23, 2004 Author Posted July 23, 2004 Thanks. My problem is that the admin panel logs me out after a few minutes, which is inconvenient beacuse I have to keep logging in if I am working on something. However I have another store with the same sessions timeout setting and it doesn't do this - it keeps me logged in indefinitely. Is there another setting for this?
241 Posted July 23, 2004 Posted July 23, 2004 admin/includes/functions/sessions.php ?if (STORE_SESSIONS == 'mysql') { ? ?if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) { ? ? ?$SESS_LIFE = 1440; ? ?} Do you have an admin access contribution installed No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
mark754 Posted July 23, 2004 Author Posted July 23, 2004 Yes, I do. How would this affect the sessions setting?
241 Posted July 23, 2004 Posted July 23, 2004 do both stores have this contribution are both stores on the same server No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
mark754 Posted July 23, 2004 Author Posted July 23, 2004 Yes, both have the contribution. They're on different servers, I believe, but with the same host.
241 Posted July 23, 2004 Posted July 23, 2004 there is the session.gc_maxlifetime in php.ini to which the sessions.php refers No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
241 Posted July 23, 2004 Posted July 23, 2004 php.ini is onthe server which you will not have access to if it is a hosted account. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
mark754 Posted July 23, 2004 Author Posted July 23, 2004 That's what I thought. I'll contact the host about it. Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.