.Net system transaction remove exception from session

I am new to asp.net. I am working on an application that does system transactions. At some point, an exception occurs in the code and the code explodes. It bombs when you click on a specific row entry in the grid list. However, after the user sees the exception ... they return and try to click some other entry, which should work. They see the same exception again, not thrown a second time, but still showing up since it encountered the first time. This solves it by itself if the user logs out ... logs in again and clicks on the second line .. which shouldn't have any problems.

will this be due to exceptions not being cleared from the session when the user goes back to the grid list page ... after they see the error page ...?

0


source to share


1 answer


Typically, after completing one operation in a transaction, the transaction must be aborted and restarted. This allows you to return to a "clean" state.



+1


source







All Articles