Global Error handling in Applicatio_Error() of Global.asax

  • Thread starter Thread starter VSK
  • Start date Start date
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
 
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
 
Back
Top