I want to increase the amount of time that the session id/cookie is kept for the admin screen. Can anyone point me in the right direction?
Thanks.
This is a discussion on Session id on admin login within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I want to increase the amount of time that the session id/cookie is kept for the admin screen. Can anyone ...
I want to increase the amount of time that the session id/cookie is kept for the admin screen. Can anyone point me in the right direction?
Thanks.
The DEFAULT PHP session "Garbage collection" (when it clears up session with no activaty) is 24 mins (1440 sec)
In PHP.INI change:
session.gc_maxlifetime = 1440
to say - 1 hour:
session.gc_maxlifetime = 3600
This is not really suggested. What is suggested to to is to save what your doing evey 15 min or so (like when your using the ONLINE HTML or text editor) - this with "refresh" the session lifetime - then click your bowsers "back button" to return back where you was. Or do MOST of your editing OFF LINE and cut and paste it in or FTP it.
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Thanks for your answer. This is what I was looking for. Can you tell me though please where to find the php.ini file, or is this something that needs to be set across the whole server?
PHP.INI is a SERVER based file not a "web" based file. You "may" have a local copy of php.ini if in a certain virutual servers setup (not all type are setup like that) - or has to be set for the WHOLE server.
It is NOT really recommended to extend this... It is best to "save" what your doing or move / refresh your screen every 10-20 mins (which resets the session lifetime).
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Thank you once again. However, please note, that I am talking specifically about the admin screen, which seems to be a different time-out from the rest of the site. Could this be possible? Will I be able to change this, as the staff seems to have to login every 10 minutes or so.
Bookmarks