I have read that you can workaround the common problem of the Thread.Abort exception by using the server.execute method instead of server.transfer when transfering to another page.
I started using server.transfer in order to make the URLReferrer property of the HTTP request show up properly when using smart navigation in the app. This worked fine, but I get the Thread.Abort execeptions now and then.
Will server.execute still allow the HTTP Request to contain a valid URLReferrer value like the server.transfer call did?
Thanks.From the docs (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebHttpServerUtilityClassTransferTopic2.asp):
"Transfer calls End which raises a ThreadAbortException exception upon completion."
0 comments:
Post a Comment