RE: problem with ISAPI plugin

  • From: "Ryan Parlee" <listbox@xxxxxxxxx>
  • To: "[ISAserver.org Discussion List]" <isalist@xxxxxxxxxxxxx>
  • Date: Thu, 19 Dec 2002 22:28:55 -0600

tarun,

what do you mean all the requests are being mixed up?  you should be able to
track session state through the use of a cookie (via pfc->pFilterContext).
that's typically how DLLs manage state in multithreaded environments.
unless, of course, your dll is exposing a COM server, in that case you can
manage state directly in the class, however, it's best to use a thread pool
because IIS threads may be running in different apartments.

-ryan



-----Original Message-----
From: tarundeep [mailto:tsingh@xxxxxxxxxxxx]
Sent: Thursday, December 19, 2002 2:11 PM
To: [ISAserver.org Discussion List]
Subject: [isalist] problem with ISAPI plugin


http://www.ISAserver.org


hi all,
i am developing an ISAPUI plugin, a sort of web filter,
my problem is that i want to handle threading issues in ISAPI since all  the
requests to myproc are being mixed up..i did it thru critical section but
then the response time slows down.

any idea how to handle threading and basically thread pooling in ISAPI dll.

also is there any notification that i can send to the client to keep the
current HTTP connection until the whole process is over
regard
tarun


List Sponsored by Aspelle
Aspelle's Microsoft-centric, Aspelle Everywhere, leverages ISA server and
the Internet to quickly and cost-effectively manage and deliver secure,
client-less access to all corporate applications (Web, Unix, Windows and
legacy systems), for all users.
More info at http://www.aspelle.com/info

------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=isalist
ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp
ISA Server FAQ: http://www.isaserver.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Exchange Server Resource Site: http://www.msexchange.org/
Windows Security Resource Site: http://www.windowsecurity.com/
Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com
------------------------------------------------------
You are currently subscribed to this ISAserver.org Discussion List as:
listbox@xxxxxxxxx
To unsubscribe send a blank email to $subst('Email.Unsub')



Other related posts: