Classic ASP runs on the server, so it is useful for work that must happen before the response is sent to the browser: reading form data, applying business rules, working with sessions, accessing a database, and generating HTML dynamically.
Once IIS has finished processing the page and the browser has received the response, Classic ASP is no longer running for that request. Browser interactions such as opening a client-side alert, reacting immediately to a click, or changing the page without another request are handled by HTML, CSS, and JavaScript.
For important validation, use server-side checks even when JavaScript also validates the form. Client-side validation improves usability, but it must not be the only protection for data sent to the server.
See server-side vs client-side tasks for practical examples.
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.
02-07-2022 | |
| Please, I want to see the advantages and disadvantages of ASP | |