Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    553
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to exit directly /Solved.

    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.
    Last edited by gorilla1; 02-27-2003 at 08:36 PM.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    41 8' 52" N -95 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Response.Redirect. hehe
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •