Session Expires very quickly

Discussion in 'ASP.NET / ASP.NET Core' started by hamaswa, Mar 19, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi All

    I m working on ASP.NET Site. The Site is hosted on DiscountAsp.net. The site was working fine for more than 3 months. I m facing a problem since one week. I am creating Session through out the site for different functions. Some time sessions remain live for more time while the other time the session expires in one minute.

    I did nothing in web.config file for session.
    Why this is happing. Any Help.


    Thanks in Advance
     
  2. Joseph Jun

    Joseph Jun DiscountASP.NET Staff

    It's possible that your application pool may be recycling.

    Please use the Support Portal in your DiscountASP.NET Control Panel, open a ticket with the Technical Support department and a support specialist will assist you.
     
  3. Thanks for your reply

    I m using InProc to save session. I think I m losing all sessions because of application pool recycles. what causes the application pool recycles.

    Thanks
     
  4. Have you considered using SQL session for your application?
     

  5. The application pool will recycle if your application hangs or crashes, if the memory usage has reached gone over the 100mb limit (on IIS6), a sustained 75% CPU usage over 3.5 minutes, or the application has no activity for 20 minutes.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page