TheWizardofInt Posted June 17, 2003 Posted June 17, 2003 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? Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
TheWizardofInt Posted June 19, 2003 Author Posted June 19, 2003 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. Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
Administrators PlausiblyDamp Posted June 19, 2003 Administrators Posted June 19, 2003 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? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
TheWizardofInt Posted June 19, 2003 Author Posted June 19, 2003 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 Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.