Server.Transfer - What could be the issue here?
Posted
by Younes
on Stack Overflow
See other posts from Stack Overflow
or by Younes
Published on 2010-04-23T07:31:13Z
Indexed on
2010/04/23
7:33 UTC
Read the original article
Hit count: 204
We have implemented a website with the ability for the user to post his actioncode. This then will be checked by the code and when the user has a price the website will Server.Transfer him to another page. The strange thing here is that the user information will be submitted to the database and the actioncode can't be used again. Here we go... I have one user in this database that is inserted twice very fast after the first time he was added. This are the timestamps:
- 2010-04-23 07:54:41.133
- 2010-04-23 07:54:41.417
The insert statement is only called once from the code and the user gets Server.Transfered to the Price.aspx page where he sees what price he won. How can it be that this happened? I'm guessing the user hitted F5 but then he had to be very very fast...
Thx!
© Stack Overflow or respective owner