The Admin login expires after a certain time period, obviously this is necessary for security reasons, but how and where can I extend the time limit?
This is a discussion on Extending Admin login expiry time within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; The Admin login expires after a certain time period, obviously this is necessary for security reasons, but how and where ...
The Admin login expires after a certain time period, obviously this is necessary for security reasons, but how and where can I extend the time limit?
This is a PHP setting - normally times out after about 24 mins is the default (of inactivaty - with no pages loaded) .
The simple thing is to refresh or use the back button every 10-15 mins...
Or change your SERVERS php.ini file and look for and change the follwing:
session.gc_maxlifetime = 1440
(in Seconds - default 24 min=1440 sec)
to something like:
session.gc_maxlifetime = 3600
(1 hour)
I would NOT recommend increasing this much more than that.
Good Luck!
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!
With MS2-MAX running locally on IIS I get page refresh problems and I get into a situation where eg access to a category page requires me to login again and it ends up in a loop, I cannot gain access to that page.
I think the thread below is the same problem
Admin losing session on form submit, returning to login:
http://oscdox.com/index.php?name=PNp...ight=login+iis
I have to open a new browser and login again to be able to access the particular page.
If you have verified all your setting in both configure.php files are correct - (cookies are configured correctly and tried force cookies on/off - and tried store session in "mysql") and still happends --- then it might be a PHP bug. Check your version of PHP to make sure it is the most recent "stable" version.
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!
Increasing session.gc_maxlifetime has helped, thanks.
My version of php is 4.2.3.
My sessions are being stored in the database.
The configuration settings appear to be fine, it's a timeout and refresh issue.
I find IIS returns to cached pages eg when updating products and this can cause a loss of data.
Bookmarks