Print Page | Close Window

Changing Session Timeout Default 20 min

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=1399
Printed Date: 01-July-2024 at 4:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Changing Session Timeout Default 20 min
Posted By: trodat
Subject: Changing Session Timeout Default 20 min
Date Posted: 21-February-2008 at 10:48pm

I'm trying to charge the default session timeout for the cart by creating a global.asa file and uploading it into our root directory (our cart is in a /shop/ sub-directory). This is the code that I'm trying to use:

<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Session_OnStart
' Change Session Timeout to 20 minutes (if you need to)
Session.Timeout = 60
' Set a Session Start Time
' This is only important to assure we start a session
Session("Start") = Now
End Sub
</SCRIPT>

This doesn't seem to work though. I've read about 15 websites about how to do this and although they seem to do a lot of talking about it, I can't find a specific script that I can use/work. All I want to do is increase the default session timeout in the admin and cart from 20 minutes to 60 minutes. I find it frustrating to have to re-login to the admin and I'm sure the user would get very upset to shop, add mutlipe items, go eat a sandwich, come back and they're all  gone.




Replies:
Posted By: netprofits
Date Posted: 22-February-2008 at 5:54am

See these articles/posts:
http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=292 - http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=292  - Explanation for the problem.
http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=65 - http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=65  - Common solutions
http://www.earlyimpact.com/forum/forum_posts.asp?TID=631 - http://www.earlyimpact.com/forum/forum_posts.asp?TID=631  - Similar to the answers above.



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

Certified ProductCart Developer

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


Posted By: Greg Dinger
Date Posted: 29-February-2008 at 10:07pm

If the problem you seek to resolve is lost shopping sessions, you may find this useful: http://www.greybearddesign.com/productcart/session-saver/ - http://www.greybearddesign.com/productcart/session-saver/

I've not yet tried to install this on the admin but it may in fact be useful in that regard.  It will require modification for such an implementation.



-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: ynotpyro
Date Posted: 06-May-2008 at 3:37pm
I had the problem of getting logged out of my admin area and losing all the tracking numbers I had entered in but not submitted yet(batch ship orders)  My simple solution was to install "Auto IE Refresher V1.0" which you can download for free.  I log into the admin area go to "view all orders" and activate the refresher for every 3333 seconds (which is 56 minutes because I get logged out every 60 minutes).  Then I open up a second tab with "batch ship orders" and I can enter in tracking numbers all day without ever getting logged out and losing the info.  As long as the admin area is on the other tab and refreshing you will never have any problems getting logged out or losing info while you are on the other tab.   I have been doing this for over 2 years and it works flawlessly for my needs.  Not very high tech but it works.


Posted By: shannondoan
Date Posted: 07-June-2008 at 5:52pm
Thank you ynotpyro for posting this!  it is just the answer I needed.


Posted By: geoff
Date Posted: 09-June-2008 at 7:59pm
ynotpyro
Thanks that was a great suggestion. I use Opera as a browser for admin of PC and it has the automatic refresh built in - I did not think to look until you suggested - cheers! You have saved me about 10 logins a dayThumbs%20Up


Posted By: worldofrugs
Date Posted: 10-June-2008 at 10:41am
For auto refreshing in Firefox:
I use ReloadEvery, a Firefox add-on ( https://addons.mozilla.org/en-US/firefox/addon/115 - https://addons.mozilla.org/en-US/firefox/addon/115 )


Posted By: geoff
Date Posted: 10-June-2008 at 7:37pm
For Opera - right click on screen and select "refresh every..."


Posted By: yeeyeng
Date Posted: 18-September-2008 at 3:50pm
Originally posted by Greg Dinger Greg Dinger wrote:

If the problem you seek to resolve is lost shopping sessions, you may find this useful: http://www.greybearddesign.com/productcart/session-saver/ - http://www.greybearddesign.com/productcart/session-saver/

I've not yet tried to install this on the admin but it may in fact be useful in that regard.  It will require modification for such an implementation.



Have anyone used GreyBeard Design Group’s session saver add-on? Any feedback?


Posted By: gmoneyreg
Date Posted: 23-September-2008 at 4:02pm
Originally posted by yeeyeng yeeyeng wrote:


Have anyone used GreyBeard Design Group’s session saver add-on? Any feedback?


Yes, I have implemented Greg's "Session Saver" code and I can attest that it works great.

The customers who visit the site I designed do not always have the luxury of completing their order without interruptions. The GreyBeard session saver eliminated the issue of customers losing everything they spent time adding to their cart.

See for yourself:
http://www.alliedmpi.com - http://www.alliedmpi.com




Posted By: WGSnet
Date Posted: 25-September-2008 at 7:45pm
Originally posted by yeeyeng yeeyeng wrote:

Have anyone used GreyBeard Design Group’s session saver add-on? Any feedback?


It's a great solution that you can configure yourself. Painless and affordable.

http://www.buygolfshirts.net - www.BuyGolfShirts.net


Posted By: thomas@windstan.com
Date Posted: 06-August-2012 at 4:11pm
This is exactly what I am looking for.  From my own experience, if my cart emptied because I stepped away for awhile, I would most likely not continue shopping.  I would feel frustrated.  And try again some other day.

So I will be definitely trying out GreyBeard's sessionrefresh.asp


Posted By: Greg Dinger
Date Posted: 06-August-2012 at 4:16pm
Tom - Session Saver is no longer needed for v4 since the cart contents are automatically saved, and ultimately restored on future shopping sessions based on the wishes of the site visitor.
 
Session Saver was only for v3x stores.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



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