For Programmers: Free Programming Magazines  


Home > Archive > ASP > April 2007 > error handling - rolling back changes









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author error handling - rolling back changes
brendan.wong@gmail.com

2007-04-24, 3:55 am

hello. i'm trying to incorporate some error handling into my web app,
but i'm not sure how to go about it in this case.

say for example, i already ran 10 INSERTS, then on my 11th INSERT,
something fails (perhaps trying to perform an INSERT into a table that
doesn't exist). logically, i should stop execution of the page and
display some sort of error message. but, since i've already run 10
successful INSERT queries before the error occurred, what do i do
now?

thanks

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com