Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The mystery behind the Redirect
Message
From
07/10/2011 16:45:17
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
The mystery behind the Redirect
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01525877
Message ID:
01525877
Views:
103
This has always been a question that nobody was ever able to provide a clear answer on what is going on exactly when we redirect. If Response.Redirect() is issued, thus this means the code to be processed down below will never happen as the Response object will cut off the rest of the process and simply forward the user to another page? Some says that it is always a good approach to have Return False or something after to avoid any additional code to be executed. In either way, I never faced the situation that code continuation was applicable when doing so.

Any comment?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Reply
Map
View

Click here to load this message in the networking platform