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
How can I activate my Crystal Report?
Viewed 3662 times since Tue, May 1, 2012
How do I query MySQL database in ASP.NET?
Viewed 12575 times since Tue, May 1, 2012
My .CSHTML site is not working. What did I do wrong here?
Viewed 4083 times since Thu, May 3, 2012
Will my Crystal Report IX (Crystal Report 9) work on your server?
Viewed 2718 times since Tue, May 1, 2012
Will my Crystal Report X (Crystal Report 10) work on your server?
Viewed 2640 times since Tue, May 1, 2012
How to solve the Let’s Encrypt SSL on ASP.NET Core
Viewed 9543 times since Mon, Jul 17, 2017
Have you supported Crystal Report for VS 2010 (v13)?
Viewed 2901 times since Tue, May 1, 2012
Sample Code to Send email using ASP.NET 2
Viewed 9703 times since Tue, May 1, 2012