Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2006
    South Central, KS
    Thanked 2 Times in 2 Posts

    IIS, Custum 404's, and retaining Querystrings

    Hola all,

    I am attempting to set up a custom 404 page which will be able to parse the bad address and send the user to the right page (while telling the search engine what the new page would be)

    this is pretty straight forward at first:
    • I pointed my custom errors to the .asp page which i want it to use, assigning it as a URL rather then a file.
    • i build my .asp page to retrieve the information and get ready to parse it...

    but wait!

    although the address bar still shows: http://www.mydomain.com/page.asp?var=val&var2=val2 when i look at the request.querystring it shows me the bad URL without the querystring!

    req.servervariables("querystring") shows

    i've looked all over, and i cannot find a way to get to that lovely address in the address bar complete with querystring and toaster! Can anyone help me?


  • #2
    Senior Coder
    Join Date
    Nov 2002
    North-East, UK
    Thanked 0 Times in 0 Posts
    What is your code?


    Posting Permissions

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