Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Response.Redirect way of doing things
Message
From
25/01/2012 10:26:37
 
 
To
25/01/2012 09:59:56
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01533685
Message ID:
01533693
Views:
49
This message has been marked as the solution to the initial question of the thread.
>When using Reponse.Redirect, in order to assure that nothing else would be executed after, is the following all that is needed:
>
>
>Response.End()
>Response.Flush()
>
I'm a bit rusty on this but I thought the best way was:
.Redirect("xxx",false);
.CompleteRequest();
(AFAIK Response.End throws an exception but .CompleteRequest() should avoid it.

UPDATE: Tail end of this seems to confirm:
http://blogs.msdn.com/b/aspnetue/archive/2010/05/25/response-end-response-close-and-how-customer-feedback-helps-us-improve-msdn-documentation.aspx
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform