Simple question

Results 1 to 3 of 3

Thread: Simple question

  1. #1
    Join Date
    Dec 1969

    Default Simple question

    This is probably a really dumb question, but how do I figure out in my code what page is currently being displayed?<BR><BR>I&#039;m making an include file for error handling and I need to return the page that the error occurs on.<BR>-Z

  2. #2
    Eddie Campbell Guest

    Default RE: Simple question


  3. #3
    Jason Guest

    Default RE: Simple question

    Instead of having an include file, make a page called error.asp or whatever. Use the response.redirect when an error may occur. This way you can specify which error it was.<BR><BR>Example.<BR>this code may produce error 1 so<BR>if error 1 occurs then<BR>response.redirect "error.asp?error=1"<BR><BR>your error.asp page can then CASE the error and provide the relevent assistance.<BR><BR>Hope that helps

Posting Permissions

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