Author |
Topic |
|
nbuangan
Starting Member
6 Posts |
Posted - August 16 2010 : 17:28:51
|
I'd like to edit the admin timeout to more than just 10 minutes. Which ASP page do I edit to do this? Say change timeout to 2 days? |
|
seeker1
VP-CART New User
Australia
114 Posts |
|
nbuangan
Starting Member
6 Posts |
Posted - August 17 2010 : 18:47:08
|
Yeah, I saw the module for this, but wanted to go a route without paying $40 for the module. I'll keep that as an option tho. |
|
|
elammers
VP-CART Super User
USA
256 Posts |
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - August 20 2012 : 13:36:50
|
Eric's solution is the same kind of thing that we came up with too a while ago; we packaged all the relevant logic up and coded it to work without javascript/html errors etc, and put it into an addon so that all you need to do is upload some files in the zip to your site, add an include line to an asp file, then add a call to the keep-alive function in your admin trailer and/or customer trailer files:
Keep-Alive Sessions for ASP - BYZ177 http://www.bigyellowkey.com/keep-alive-sessions-for-asp-from-bigyellowzone-byz177.asp
(I tried lots of free downloads for keep-alive stuff, but couldn't get anything to work that came straight out-of-the-box without errors and code-changes needed etc, hence why we coded-up our own)
Simon Barnaby Developer [email protected] www.BigYellowZone.com www.BigYellowKey.com Follow us on Twitter: http://twitter.com/bigyellowzone Web Design, Online Marketing and VPASP addons |
Edited by - devshb on August 20 2012 13:42:08 |
|
|
seroomnz
Starting Member
24 Posts |
Posted - August 20 2012 : 17:48:27
|
quote: Originally posted by elammers
One solution is to customize your admin header files using some "keep alive" code. Here's a link to some free code. http://www.808.dk/?code-ajax-session-keepalive
THANK YOU Eric this works perfectly. The admin is now able to spend ages fossicking around in the content and products without dropping out and having to login every 2-10 minutes. I just did a session of 45minutes and still counting.
However when I left the session idle for 30 minutes it did time out, it seems to be dependant on some sort of periodic save activity, which is not such a bad thing. I'll try it again.
Update: I am getting longer session times but when I leave it idle (20minutes) session has expired sometime during the idle. As before not an issue but worth noting if you want to stay logged in all day and go out to lunch (not best practice). |
Edited by - seroomnz on August 20 2012 19:13:54 |
|
|
|
Topic |
|