Print Page | Close Window

Admin Login Timing Out

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=631
Printed Date: 24-April-2025 at 2:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Admin Login Timing Out
Posted By: catherinem
Subject: Admin Login Timing Out
Date Posted: 04-February-2007 at 6:53am

One of our administrators is complaining that he's timing out after 15 minutes during his session and would like an increase. Where can I adjust the setting for this?

Thanks,
Catherine




Replies:
Posted By: netprofits
Date Posted: 04-February-2007 at 1:00pm

This is primarily a server issue and can be reolved in 3 ways. The easiest is to add a line to your AdminHeader.asp file as follows:


Session.Timeout = x

Where x equals the number of minutes before timing out. So for example, you could make it Session.Timeout=60 to force it to not timeout for 60 minutes.

You can also setup a Session_OnStart script in your global.asa file to set the session.timeout for the whole web site.

The third option is to change the Session Timeout option in IIS but most people don't have access to that with their web hosting service.

If you still experience short timeouts after making one of these changes, it may be that the hosting service has another application in the same application pool as your web site and the other web application has errors which cause your site to be reset as well.



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: Confetti
Date Posted: 12-June-2008 at 1:48pm
Net P,

Quick question on the "Easy way".  You say... Add a line to your adminHeader.asp.
Can you tell me where to add?

On my unmodified v311 copy on line 31?  After <Meta - Before <script ?

Line  30 - <meta name="description"
Here?
Line  31 - <script type=

Thanks,  Dale


Posted By: netprofits
Date Posted: 12-June-2008 at 1:53pm
You can add it right after the following line:
Session.LCID = 1033
It must be before the %> which closes an ASP code section.


-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: GMKelly
Date Posted: 14-October-2008 at 6:55pm
After adding this line my whole control panel changed from color to over all look?

-------------
Gerrit



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net