ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - are there draw backs to extending session
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

are there draw backs to extending session

 Post Reply Post Reply
Author
Message
fire View Drop Down
Newbie
Newbie


Joined: 29-December-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote fire Quote  Post ReplyReply Direct Link To This Post Topic: are there draw backs to extending session
    Posted: 03-January-2009 at 4:47pm
Does anyone know if there are serious draw backs to extending the session.timeout setting? I have increased/added it but not sure it this is a good move or not?Smile
Back to Top
RUOnTheNet View Drop Down
Newbie
Newbie


Joined: 06-November-2008
Location: Vancouver
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote RUOnTheNet Quote  Post ReplyReply Direct Link To This Post Posted: 07-January-2009 at 1:14pm

Session  session length affects the server processing.    Here's a brief  basic explanation.

When you increase the server session length, what you are doing is extending the connection time of a user to the server's database.      This takes system resources (from the server) and affects the database performance as well.     This is because your server most likely has limited resources allocated to both (dbase and system user sessions). 
 
What can be affected includes the actual  number of people who can connect to your dbase (your PC store since it is dbase driven).      Depending upon your basic website configurations, and simultaneous web users,  you may experience connectivity time delays and unable to connect occurances.  What happens is that your server might limit the number of people who can connect to the dbase at the same time.  A new user wouldn't be able to connect if all resources are being used, until someone leaves the site AND that user session expires (by time or by closing a browswer window).
 
Also, your server has an application pool setting that may "crash" if you have too many resources using the same pool.   But chances are this won't be an issue with PC and regular sql settings.
 
OK, all this sounds alarming but if you  have a modern server, and limited leakage in web programs on the server, and running an SQL dbase versus an Access dbase, you shouldn't experience any real concerns.   Just check connection time to the server.
 
Best a suggestion would be to test it -  by using a ping program or someother type of program to "attack" your own server/storefront and checking the page load time.    Or - you can just ask all staff and people you know to try to place an order at the same time - and see what happens.  Pick the slowest day/hour and say at Wednesday 4:00PM lets try to place orders to confirmation page.  
 
How much traffic to your site do you receive and what is frequency of time on site?  These are some stats to look at. 

For admin, we decided to stay with current default times and just use password remember in FFox to assist in logging in again.  Afterall, if we are not actually doing anything from an admin stance, it makes sense to just log out.
 
/a
Alan,
www.AreYouOnTheNet.com
Internet Sales, Marketing & Affiliate Program Management
Back to Top
fire View Drop Down
Newbie
Newbie


Joined: 29-December-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote fire Quote  Post ReplyReply Direct Link To This Post Posted: 07-January-2009 at 11:38pm
Hay thanks for the over view and suggestions! I've looked into it a bit and don't think that there should be much of a problem with extending the session.time. But we will try your ideas.
Back to Top
fire View Drop Down
Newbie
Newbie


Joined: 29-December-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote fire Quote  Post ReplyReply Direct Link To This Post Posted: 16-January-2009 at 1:47pm
Just as a side note on the whole issue with carts timing out.. I just came across an article on the Response.Expires command. I am testing to see if setting the viewcart.asp page expire time to 1440% will keep the cart info for a full 24hours. If any one knows if this is true please feel free to put their two cents in.
<% Respnse.Expires = 1440%>

Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 16-January-2009 at 1:51pm
fire,  response.expires is different than the server setting.
Back to Top
fire View Drop Down
Newbie
Newbie


Joined: 29-December-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote fire Quote  Post ReplyReply Direct Link To This Post Posted: 20-January-2009 at 12:52pm
Thanks Matt 4 the heads up!
If I understand it right and probably don't PC saves the cart info in 'session cookies' or is it session Variables? Is there not a different kind of cookie known as 'persistent cookies'? Which I think can save info for long periods of time. Looking at it should be a matter of saving the cart variables (arrays?) in a cookie...This is what I'll look at and keep you posted...


Edited by fire - 20-January-2009 at 12:54pm
Back to Top
Handmade View Drop Down
Newbie
Newbie


Joined: 12-January-2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Handmade Quote  Post ReplyReply Direct Link To This Post Posted: 25-January-2009 at 1:42pm
In all things internet, if you accept credit cards, PCI standards rule. Amex wants the carts to time out after 10 minutes of inactivity.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.059 seconds.