Global Error handling in Applicatio_Error() of Global.asax

V

VSK

Hi all,

For a web application if we are using web farm, and if i want to do Global
Error handling can i use Applicatio_Error() method in global.asax.
Now in this method i will call business object which will log the exception
details into database, file etc....... am not sure if there will be any
performance issues or any other issues in web farm , when many users get
exception at the same time and try to access the Applicatio_Error() method
at the same time......

If anyone has used please let me know an foreseen issues..........

Thanks
VSK
 
A

Alvin Bruney

yes you can do this but you need to lock the logging mechanism when you
write to it and unlock it when you are done. the same concurrency rules
apply here
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,814
Latest member
SpicetreeDigital

Latest Threads

Top