stopping html midpage w/asp?

Results 1 to 3 of 3

Thread: stopping html midpage w/asp?

  1. #1
    Join Date
    Dec 1969

    Default stopping html midpage w/asp?

    Is there a way to prevent the remainder of the html in a document from being executed mid-document?<BR><BR>The idea being that given a certain set of variables, the header of the page still displays then a small message "no information" but the remaining HTML does not display.<BR><BR>thanks

  2. #2
    Joe Mac Guest

    Default RE: stopping html midpage w/asp?

    You can call the response.end method (assuming you have named your file with an .asp extension)<BR>At that point ALL out put to the client stops.<BR>We use javascript as our default language and it works for us when we do server side data validation. If the data is bad we output an error message and call Response.end (R must be in caps for javascript)<BR>Good luck, Let me know if it worked.

  3. #3
    fatty Guest

    Default she worked... n/t


Posting Permissions

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