weird asp.net problem

L

Lachlan James

Hi,

I am having a weird problem when doing an http post to one
of my aspx pages.

I have a page (page1.aspx) which basically takes in a
request (xml request) and adds a record to the database
(via a business object) if that record doesn't already
exist.

When I run a test case against my business object it works
fine, if I run the test case many times, still only one
record is added which is exactly what I expect.

The problem comes when I create a new asp.net project (in
a separate virtual folder), and from one of the aspx's I
do an http post to page1.aspx. For some reason the code in
my first project doesn't execute the same way and the same
record gets added over and over again.

Could this be something to do with threading?

Thanks,

Lachlan James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top