| Home » Categories » Multiple Categories |
My website session times out earlier than expected. Why? |
|
Article Number: 57 | Rating: 5/5 from 1 votes | Last Updated: Tue, May 1, 2012 at 1:52 AM
|
| Please be advised that since your site is hosted on a shared server, there are other services on the server that may impact your site session. A bad programming practice (infinite looping, etc), a sudden jump in one of the site's traffic, etc are some of the examples of the activities on the server that may impact your site session. Even though you have set your session to expire in 120 minutes, it still can terminate earlier than you expect. This is why we do not recommend our clients to use session. Instead, it is highly recommended that you use Cookie. Big companies like Ebay never ever rely on session due to the limitations mentioned here. The way you program cookie is very, very similar with session, except you will use HttpCookie class, instead of session. |
Attachments
There are no attachments for this article.
|
I cannot see my website. What should I do?
Viewed 4001 times since Thu, May 3, 2012
Common reasons why your application pool may unexpectedly recycle
Viewed 8745 times since Tue, May 15, 2012
Have you supported Crystal Report for VS 2010 (v13)?
Viewed 3087 times since Tue, May 1, 2012
Do you support ASP.NET MVC 6?
Viewed 4973 times since Wed, Feb 17, 2016
How can I publish my website to your server?
Viewed 7946 times since Mon, Apr 30, 2012
Why do I suddenly receive the error message: "Compiler Error Message: The compiler failed with error code XXXXXXXXX"?
Viewed 17637 times since Wed, Feb 17, 2016
How can I deploy my VS LightSwitch project on your server?
Viewed 4173 times since Tue, May 22, 2012
How can I deploy my ASP.NET project with WebDeploy facility via Visual Studio 2010 tool?
Viewed 5954 times since Wed, Jun 6, 2012
Do I need a static IP?
Viewed 5115 times since Mon, May 7, 2012
How to solve ReportViewer error message: "An error has occurred during report processing. Input string was not in a correct format"
Viewed 8449 times since Tue, Jun 18, 2013
|
