Main Menu
Open a Ticket
Ticket History
Browse Knowledgebase
My Account

 HSphere Login:
 HSphere Password:

Ask a question using natural language. Try to include as much information as possible:

Contact Us
JodoHost (India)
D-111, Sector 63,
Noida 201 301
Phone (24x7): +91.120.4593617
Fax Number: +91.120.4593613

Why are my Sessions Expiring very quickly?
Top : Windows Hosting

Article ID: 000006
Rating: 4.5 / 5.0 (26 votes)
Views: 53538

In my ASP website hosting on Win2003, my sessions are expiring very quickly in under 2 minutes. What can I do to prevent this?

This is a specific issue on Windows 2003/IIS6 servers. What happens is that any shared host creates application pools within IIS6 to host certain x number of websites. Each server may have several application pools and all websites on the server are divided among these pools. When a customer's website calls session.terminate within any application pool, all session variables are lost within that pool.

The only real solution to this issue (which is highly recommended by many developers and Microsoft themselves) is to use database session management. Here you can store all session related data in a local database. If you are unable to implement this solution, we can try working on something unique for you (such as moving you to a Win2000 server). Please open a ticket for that. However it is highly recommended you rework your website's code to incorporate these changes

Did you find this article helpful?

  Powered by: Cerberus Helpdesk
 Take Control of Your Company Inbox skin by: and