Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Does anyone have code for this? I am having trouble with it

 

I want to use the following code:

 


  Dim GMApps as New kinda.dll

        >use the dll<

   Dim stLoc as HttpSessionState

   stLoc.Remove("GMApps")

 

So how would I go about it?

Read the Fovean Chronicles

Because you just can't spend your whole day programming!

Posted

What I need to do is to manually close a .dll and its associated object which won't close on its own.

 

The .dll maintains its connection to the database it is used to access and then won't let ODBC access the database.

Read the Fovean Chronicles

Because you just can't spend your whole day programming!

  • Administrators
Posted

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 it's resources?

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

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 .dll's connection to the table

 

I haven't 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

Read the Fovean Chronicles

Because you just can't spend your whole day programming!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...