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.
|
Common reasons why your application pool may unexpectedly recycle
Viewed 8141 times since Tue, May 15, 2012
Why do I suddenly receive the error message: "Compiler Error Message: The compiler failed with error code XXXXXXXXX"?
Viewed 16492 times since Wed, Feb 17, 2016
I cannot see my website. What should I do?
Viewed 3617 times since Thu, May 3, 2012
Sample Code to Send email using ASP.NET 2
Viewed 9319 times since Tue, May 1, 2012
My site is showing 500 Internal Server error message. What is wrong here?
Viewed 3390 times since Thu, May 3, 2012
How to solve ReportViewer error message: "An error has occurred during report processing. Input string was not in a correct format"
Viewed 7939 times since Tue, Jun 18, 2013
How To Solve Problem with Connection String on EF (Entity Framework) 4 or above
Viewed 31526 times since Mon, Apr 1, 2013
How can I deploy my ASP.NET project with WebDeploy facility via Visual Studio 2010 tool?
Viewed 5526 times since Wed, Jun 6, 2012
I receive this error message: "Unknown file type (binary data)" when trying to deploy my SQL CE database. What did I do wrong?
Viewed 4117 times since Thu, May 3, 2012
How to solve the Let’s Encrypt SSL on ASP.NET Core
Viewed 9240 times since Mon, Jul 17, 2017
|