asp.net redirect issue
Posted on 2007-08-02
If one of my session variables equals a particular value in the if clause, I want the code to go to the page I direct it to, and stop execution on the current page. This is the code I have below:
If Session("MyStudyType") = "NonLongitudinal" Then
This condition is tripped, but it still executes the rest of the code on the page. How do I get it to go to the page I direct it to go to without executing the rest of the code on the page?