thanks all for your response.
By @transaction, you mean that we use a begin transaction and commit
transaction in the server side code. Having all the transactions in
one block. Please explain.
Thanks,
Sunil.B
>"Albatross Singh" <albatross_singh.RemoveThis@hotmail.com> wrote in message news:<Ocil3j6$DHA.3220@TK2MSFTNGP10.phx.gbl>...
> Greetings
>
> Use @transaction. This will ensure that either all the elements will get
> executed of none of them will get executed.
>
> Hope this helps.
> Albatross Singh
>
>
>
> "Sunil" <sunil159.RemoveThis@yahoo.com> wrote in message
> news:665aa6d9.0403010554.48dd3a55@posting.google.com...
> > I need some basic insight into the workings of a HTTP request and a
> > HTTP response. i'am using ASP.net.
> >
> > 1. what happens when a request is sent and the user clicks the STOP
> > button of the browser.
> > a. does the request goes through to the server?
> > b. will any server-side code gets executed?
> > c. if there is any database operations, will they get executed?
> >
> > the scenario here is that, there is a online shopping site which does
> > credit card processing with database updates.
> >
> > There is a possibility that the credit card transaction goes through
> > before the user hits the STOP button and the database updates does
> > not. The end result will be stale data! Please guide.
> >
> >
> > Thanks in advance.
> >
> > Sunil.B<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: HTTP request