Weird com object behaviour on W2k3

P

pigwin32

I have an asp application that uses a javascript server side include to
instantiate a component for generating our menu html. The component is
pooled and worked perfectly on Windows 2000.

On Windows 2003 the behaviour is quite weird. For non-ssl traffic the
component is instantiated and I can call the getMenu() method. Once the
page is rendered by the server the object is released back into the
pool. There is a getLoginMenu() method that returns the html for the
login menu. These pages require SSL and again the component behaves
correctly. But once logged in to the secure SSL pages the component
isn't released back into the pool when the page is rendered, so the
pooled component count just keeps going up until the maximum is reached
at which point everything stops until a timeout occurs.

Setting the object to null at the end of each page does actually fix
the issue but would require changing every page and introduces the
possibility that it could easily be overlooked if a new page is added
to the site.

The C++ source for each of the methods used to generate a menu is
practically identical, it uses an xsl transform to generate the html.

Any clues gratefully received.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top