Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 What ASP page to edit admin timeout
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nbuangan
Starting Member

6 Posts

Posted - August 16 2010 :  17:28:51  Show Profile  Reply with Quote
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

Posted - August 16 2010 :  19:57:56  Show Profile  Visit seeker1's Homepage  Reply with Quote
Please seehttp://www.hkprog.com/vpasp/hk_admin.htm
This is only permanent solution to Admin timeouts



Howard Kadetz
www.hkprog.com
[email protected]
VP-ASP customizations and software enhancements
Go to Top of Page

nbuangan
Starting Member

6 Posts

Posted - August 17 2010 :  18:47:08  Show Profile  Reply with Quote
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.
Go to Top of Page

elammers
VP-CART Super User

USA
256 Posts

Posted - August 29 2010 :  22:23:22  Show Profile  Visit elammers's Homepage  Reply with Quote
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



Regards,
Eric Lammers
www.KrackMedia.com
Building More Than Web Sites . . . Building a Web Presence
Go to Top of Page

devshb
Senior Member

United Kingdom
1904 Posts

Posted - August 20 2012 :  13:36:50  Show Profile  Visit devshb's Homepage  Reply with Quote
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
Go to Top of Page

seroomnz
Starting Member

24 Posts

Posted - August 20 2012 :  17:48:27  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00