Help with HttpSessionState.Remove

TheWizardofInt

Well-known member
Joined
Dec 31, 1969
Messages
333
Location
Orlando, FL
Does anyone have code for this? I am having trouble with it

I want to use the following code:

Code:
   Dim GMApps as New kinda.dll

         >use the dll<

    Dim stLoc as HttpSessionState

    stLoc.Remove("GMApps")

So how would I go about it?
 
What I need to do is to manually close a .dll and its associated object which wont close on its own.

The .dll maintains its connection to the database it is used to access and then wont let ODBC access the database.
 
the HttpSessionState is really there to maintain session data (variables etc.) unless the DLL explicitly puts something into the session there is nothing there to remove it.

Does the DLL not have any other way to close or free up its resources?
 
It attempts to destroy its object, but it fails.

I can take it to the point where you can actually log on, use the .dll, log off and see that the session is still open because of the .dlls connection to the table

I havent had any luck on forcing the .dll to close, so what I am attempting to do is to remove it from the session.

Unfortunately, this function is poorly documented in MS
 
Back
Top