Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP/Com objects

Posted on 1999-01-13
1
Medium Priority
?
142 Views
Last Modified: 2010-05-03
I have big trouble, I have a site that use com objects to get information to the site.
now to the problem when several users at the same time accessing this com object the data sometimes get mixed up with eachother.
the site works like something like this:
create com object
 com.sendindata("blabla")
 response.write(com.getdata(101191))
close com object

the indata is correct but the outdata is sometimes
mixed up with someone elses! why?
0
Comment
Question by:webrage
1 Comment
 
LVL 18

Accepted Solution

by:
mdougan earned 400 total points
ID: 1455917
I'm willing to bet that your com object was not compiled with the Single-Use option, so, multiple people will be accessing the same instance of the com object (it may even be an executable file?) in any event, you should look at the code for it, because it is likely that it is placing things in Global variables which could be shared by mulitple clients.

MD
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question