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
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