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
Will my Crystal Report XI (Crystal Report 11) work on your server?
Viewed 3268 times since Tue, May 1, 2012
My site is showing 500 Internal Server error message. What is wrong here?
Viewed 4385 times since Thu, May 3, 2012
How do I send an email from my ASP.NET website by using SMTP Authentication?
Viewed 7159 times since Tue, May 1, 2012
I receive this error message: "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
Viewed 11326 times since Mon, Apr 30, 2012
My .CSHTML site is not working. What did I do wrong here?
Viewed 4728 times since Thu, May 3, 2012
Have you supported Crystal Report for VS 2010 (v13)?
Viewed 3420 times since Tue, May 1, 2012
I am unable to renew my Let’s Encrypt SSL
Viewed 3250 times since Thu, Aug 23, 2018
I forgot my Help Desk Account password. What should I do?
Viewed 7653 times since Mon, May 7, 2012
How can I enable ASP.NET 3.5 on your Control Panel?
Viewed 4423 times since Wed, May 2, 2012