Advantage of using ASP and where to use

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.

Where server-side ASP helps

  • Keep database credentials and server-side logic away from the browser.
  • Generate different output for different users or requests.
  • Validate and process submitted data on the server.
  • Work with sessions, files, COM components, and databases available to the IIS application.

What ASP cannot do after the response is sent

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.


ASP Home



02-07-2022

Please, I want to see the advantages and disadvantages of ASP



✖
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
© 2000-2026 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer