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

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

When trying to use ASPEmail, I get an error saying that the premium features of ASP Email have expired. What am I doing wrong?

This error occurs because we only support the free version of ASPEmail and not the Premium...

Do you register custom or 3rd Party DLLs or ActiveX Controls for customers? How would I go about it?

No, we do not register any custom or 3rd party DLLs or ActiveX controls apart from those...

How do I create an application directory to host an ASP/ASP.NET application in one of the folders of my domain?

We recommend that you always host your asp.net application in your domain's root directory. You...

How can I get DBO permissions on my MSSQL User?

Question:I am receiving this error while trying to run a script on my website: "EXECUTE...

Why am I not able to send email from my ASP, PHP, CGI or .NET script to AOL email addresses?

This is because AOL requires each sending IP address to have a reverse DNS record. When sending...