Home » Categories » Multiple Categories

My website session times out earlier than expected. Why?

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 Attachments
There are no attachments for this article.
Related Articles RSS Feed
I cannot find any article on this Knowledge Base that can solve my issues. What should I do?
Viewed 4597 times since Mon, Apr 30, 2012
Do I need a static IP?
Viewed 5386 times since Mon, May 7, 2012
Domain Name Server (DNS) Amplification Attack
Viewed 9940 times since Wed, Oct 15, 2014
Sample Code to Send email using ASP.NET1.1
Viewed 5893 times since Tue, May 1, 2012
How can I publish my website to your server?
Viewed 8245 times since Mon, Apr 30, 2012
I cannot browse to my site via the IP Address directly. What is wrong?
Viewed 5036 times since Mon, May 7, 2012
How often do you backup my website?
Viewed 5337 times since Tue, May 1, 2012
My .CSHTML site is not working. What did I do wrong here?
Viewed 4570 times since Thu, May 3, 2012