VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Suggestions for future release
 Application Pools Reset Proposed Solution
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

58 Posts

Posted - October 09 2006 :  01:22:20  Show Profile  Visit patrickong's Homepage  Reply with Quote
In my VPASP website hosting on Win2003, my sessions are expiring very quickly in under 2 minutes. What can I do to prevent this?

Proposed Solution:
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). However it is highly recommended you rework your website's code to incorporate these changes.


4286 Posts

Posted - October 09 2006 :  06:09:55  Show Profile  Visit support's Homepage  Reply with Quote
Dear Patrick,

The problem you are describing is caused by the application resetting itself. When you first login to the admin system the shopping cart checks to see if the application (language/configuration) variables are loaded into memory.

The usual cause for this problem is if your web hosting company has your site running in a "Web garden" setup where your site is shared between multiple processes/servers.

Another possibility is if you are assigned to an application pool that has too many sites assigned to it causing each site to be intermittently recycled.

You would need to ask your web hosting company to make sure that you are not assigned to a web garden type setup and to assign you to your own application pool that has recycling disabled and the recycler process set to recycle your site only once at a set time during the day.

This should resolve your issues.


VP-ASP Support

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000