VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

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

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?

VP-ASP New User

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
[email protected]
VP-ASP customizations and software enhancements
Go to Top of Page

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

VP-ASP Super User

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

Eric Lammers
Building More Than Web Sites . . . Building a Web Presence
Go to Top of Page

Senior Member

United Kingdom
1898 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

(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
[email protected]
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

Starting Member

24 Posts

Posted - August 20 2012 :  17:48:27  Show Profile  Reply with 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