| 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 To Solve Problem with Connection String on EF (Entity Framework) 4 or above
Viewed 32431 times since Mon, Apr 1, 2013
How can I deploy my ASP.NET project with WebDeploy facility via Visual Studio 2010 tool?
Viewed 6068 times since Wed, Jun 6, 2012
Will my Crystal Report XI (Crystal Report 11) work on your server?
Viewed 3006 times since Tue, May 1, 2012
I get an error Server.CreateObject Failed when I try to use CDONTs. What can I do?
Viewed 3227 times since Tue, May 1, 2012
How can I publish my website to your server?
Viewed 8067 times since Mon, Apr 30, 2012
My .CSHTML site is not working. What did I do wrong here?
Viewed 4416 times since Thu, May 3, 2012
Have you supported Crystal Report for VS 2010 (v13)?
Viewed 3188 times since Tue, May 1, 2012
Issue with Storing Session
Viewed 4107 times since Tue, Mar 24, 2015
HTTP Error 502.5 - Process Failure error message when publishing an ASP.NET Core Website
Viewed 11166 times since Mon, Mar 27, 2017
Will my Crystal Report X (Crystal Report 10) work on your server?
Viewed 2975 times since Tue, May 1, 2012
|
