Custom 404 Error messages

Results 1 to 2 of 2

Thread: Custom 404 Error messages

  1. #1
    Join Date
    Dec 1969

    Default Custom 404 Error messages

    I am running ASP 3.0 on microsoft IIS<BR><BR>the correct page is reglist.asp?registry_id=12345<BR><BR>I have created a custom 404 error page that redirects to the url <BR>/error404.asp<BR><BR>if the following page was requested reglit.asp?registry_id=12345<BR><BR>they would be redirected to <BR>error404.asp?404;&#060;domain name&#062;reglit.asp<BR><BR>is there anyway to preserve the information that existed in the querystring?<BR>

  2. #2
    Join Date
    Dec 1969

    Default Maybe...

    In your 404.asp try reading the Request.ServerVariables("HTTP_REFERER"), I think the full url and querystring is in there...<BR><BR><BR>- jørn

Posting Permissions

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