Results 1 to 2 of 2

Thread: Redirect

  1. #1
    Join Date
    Dec 1969

    Default Redirect

    Hi,<BR><BR>I want to redirect a page, based on the else part of an if statement, but first I want it to write something on the screen, to let them know why they are being redirected. The code I used is below - but this redirects me immediately<BR><BR>else <BR>Response.write("You have to log on first!")<BR>Response.redirect("Register.html")<BR> end if <BR><BR>Any ideas?

  2. #2
    Join Date
    Dec 1969

    Default RE: Redirect

    insted of writing the way u wrote, u can try like this, send the text u want to write thru query string or set a session veriable<BR><BR>but ur target page is html that wud be a problem, insted u can try that with asp, by either writing the content from QS or get the set session variable value<BR><BR>

Posting Permissions

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