The session length on our server (virtual hosted) is 24 minutes, and we have noticed that this has caused problems to some sloooowww shoppers who have had their carts go AWOL during the checkout. I also believe it may be related to missing orders from some paypal transactions (only a very few). However small, a missing order is costly and the client is seeking an explanation as to why. Fair enough too.
I approached our hosting company to extend the session time out period but I was given this "advice":
Unfortunately this doesn't mean a lot to me as I know nothing about server admin and am self-taught PHP and MySQLSession garbage collection takes place by default on the server every 24 minutes. This means any sessions stored in the default location will have their data removed at this stage. If this is insufficient to you, you can try saving your session data into a different location by setting session.save_path, or alternatively save your session data to a database heap table. This would also allow you better tracking of orders, as it is easier to interface to a database than to a heap of session data files stored on disk in a volatile location.
Now my session files are already held in mysql
define('STORE_SESSIONS', 'mysql');
I also have the following settings under configuration in admin:
Session Directory - /tmp (by the way, this directory does exist)
Force Cookie Use - False
Check SSL Session ID - False
Check User Agent - False
Check IP Address - False
Prevent Spider Sessions - True
Recreate Session - True
Is there anything that I can actually do to solve this problem within the realms of OscMAX. How can I stop losing session info after 24 minutes even when my session data is already stored in MySQL? (or at least I think it is)
Any help gladly received.
Janet




LinkBack URL
About LinkBacks











Bookmarks