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.
|
Do I need a static IP?
Viewed 4761 times since Mon, May 7, 2012
HTTP Error 502.5 - Process Failure error message when publishing an ASP.NET Core Website
Viewed 10569 times since Mon, Mar 27, 2017
Have you supported Crystal Report for VS 2010 (v13)?
Viewed 2790 times since Tue, May 1, 2012
My site is showing 500 Internal Server error message. What is wrong here?
Viewed 3464 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 8044 times since Tue, Jun 18, 2013
Why do I suddenly receive the error message: "Compiler Error Message: The compiler failed with error code XXXXXXXXX"?
Viewed 16860 times since Wed, Feb 17, 2016
How to Deploy and host .Net Core 2 and Angular 6 app
Viewed 12852 times since Tue, Oct 23, 2018
How can I activate my Crystal Report?
Viewed 3540 times since Tue, May 1, 2012
How do I query MySQL database in ASP.NET?
Viewed 12409 times since Tue, May 1, 2012
My website session expires earlier than what I expect. What is wrong here?
Viewed 8348 times since Tue, May 15, 2012
|