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.
|
How do I query MySQL database in ASP.NET?
Viewed 12007 times since Tue, May 1, 2012
Do I need a static IP?
Viewed 4351 times since Mon, May 7, 2012
Sample Code to Send email using ASP.NET 2
Viewed 6070 times since Tue, May 1, 2012
How do I send an email from my ASP.NET website by using SMTP Authentication?
Viewed 5947 times since Tue, May 1, 2012
Domain Name Server (DNS) Amplification Attack
Viewed 8958 times since Wed, Oct 15, 2014
I cannot see my website. What should I do?
Viewed 3239 times since Thu, May 3, 2012
Do you allow custom COM components?
Viewed 2351 times since Tue, May 1, 2012
I forgot my Help Desk Account password. What should I do?
Viewed 6579 times since Mon, May 7, 2012
My .CSHTML site is not working. What did I do wrong here?
Viewed 3599 times since Thu, May 3, 2012
You informed me that my Crystal Report has been configured, why do I still receive an error message?
Viewed 2526 times since Tue, May 1, 2012
|