View Full Version : How to exit directly without further output ot browser?

02-27-2003, 07:57 PM
In an if then conditional, I am redirecting to another page if true (as shown below), by way of a meta refresh. In php, I can put an "exit" statement after the meta line to prevent other output to the browser from code following that statement. Is there something in asp that will enable me to do the same?
if CookieSet = True Then
Response.Write("<META http-equiv='Refresh' content='0; URL=xxx.asp'>")

Or would response.redirect take care of this?

Yep, it did.

02-28-2003, 01:18 AM
Response.Redirect. hehe