gorilla1
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'>")
Else
Or would response.redirect take care of this?
Yep, it did.
if CookieSet = True Then
Response.Write("<META http-equiv='Refresh' content='0; URL=xxx.asp'>")
Else
Or would response.redirect take care of this?
Yep, it did.