|
-
May 7th, 2003, 01:33 PM
#1
Thread Starter
Junior Member
Aspx use same Class Library instance ??
hi,
i'm using aspx with a class library project.
Problem:
Every user uses the same instance of the class library project, so i get errors like (Object not set to an instance of an object, although it is set correct, but the other user already destroyed it, because he didn't need it anymore, etc.). I get this errors only if i simulate 2 Users. With one User all works fine. But if the second one want to use the class library then it crashes.
So how can i tell the webservices to use everytime a new instance of the VB Class Library ?
(At the moment i'm using in the asp.net pages something like that: Dim ocontrol as New DllProject.Dllclass() and then Dim dummystring as String = ocontrol.checku("asas","asas") )
Or need i to change something in the VBProject ?
Thanks in advance.
Oliver
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|