Server.GetLastError() in a Web Farm

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If I am handling errors in my Global.Asax Application_Error method and this
resides on a web farm and I am trying to trap the last exception that was
thrown, I assume that Server.GetLastError() will only check for the last
error on the current server. What if I was redirected via load balancing to
a different server. How do I accomidate for this?
 
If an exception occured, how would you get redirected to a different server?

Exception Occurs
local error handling
page error handling
global error handling

there's no redirection happening...it all happens in a single thread...

Karl
 
Back
Top