redirect page

Results 1 to 2 of 2

Thread: redirect page

  1. #1
    Join Date
    Dec 1969

    Default redirect page

    ok i have the following link i want the page redir.aspx to analize the string and redirect it to the following page, so in the above example it would redirect the user to deleteprofile.aspx page, does anyone know how to do something like this? or know a good article to do this?<BR><BR>Thanks In advance!<BR><BR>Ryder Gillen

  2. #2
    Join Date
    Dec 1969

    Default RE: redirect page

    In the Page_Init event handler just grab the QueryString value that you need:<BR><BR> Dim redirectPage As String = Request.QueryString("id")<BR><BR>Then Redirect to that page:<BR><BR> Response.Redirect( redirectPage )<BR><BR>Read up on the Response and Request objects.

Posting Permissions

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