Does anybody know if there is an ASP command to stop the request to the server midway through a page i.e. equivalent to the "Stop" button on the browser. Thanks!
If you are in the middle of ASP execution and want to stop (like at the end of error handling, etc), you can use Response.End
Thanks... I tried it, but the page keeps writing even after the Response.End line of code. Any idea why?
a few if then statements in there. If "this" then response.end
Are you familure with the difference between client-side and server-side scripting? Your problem may be related to WHERE you are trying to use the command. How about some code samples?
If you have used the response.end the page will NOT continue executing. The HTML generated by the call to the page will be sent to the browser and NO more<BR><BR>Obviously you can only use the response object in server side code