redirecting page

Results 1 to 2 of 2

Thread: redirecting page

  1. #1
    Join Date
    Dec 1969

    Default redirecting page

    is it possible to write<BR><BR>response.redirect ""<BR><BR>I would like to check the user status and if status = No then <BR>I would like the user to redirect to another website (not residing on my server)<BR>is it possible???<BR>thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: redirecting page

    Jasmine<BR>I am assuming that status is a variable in your ASP, that beiing the case:<BR><BR>&#060;%<BR>If Status="No" Then Response.Redirect ""<BR>Response.Redirect ""<BR>%&#062;<BR><BR>The code shown above should redirect the user to if status is equal to "No", if status is equal to something other then "No" the user will be redirected to If you only want to redirect the user if status = "No" just remove the second line of my sample code and the user will then stay on the current page.<BR><BR>Good Luck<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