Global Error handling in Applicatio_Error() of Global.asax

Discussion in 'ASP .Net' started by VSK, Jul 28, 2003.

  1. VSK

    VSK Guest

    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
     
    VSK, Jul 28, 2003
    #1
    1. Advertising

  2. VSK

    Alvin Bruney Guest

    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
    "VSK" <> wrote in message
    news:...
    > 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
    >
    >
    >
     
    Alvin Bruney, Jul 29, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?YmNoYXJsZXM=?=

    global.asax and global.asax.cs

    =?Utf-8?B?YmNoYXJsZXM=?=, Oct 4, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    913
    =?Utf-8?B?YmNoYXJsZXM=?=
    Oct 5, 2004
  2. JP
    Replies:
    2
    Views:
    5,302
  3. YaKs
    Replies:
    0
    Views:
    508
  4. Mark Rae

    Global.asax / Global.asax.cs in v2

    Mark Rae, May 23, 2006, in forum: ASP .Net
    Replies:
    6
    Views:
    3,209
    Mark Rae
    May 23, 2006
  5. vikram
    Replies:
    1
    Views:
    884
    Karl Seguin [MVP]
    Oct 4, 2006
Loading...

Share This Page