Search code examples
validationvbscriptasp-classicrequest-validation

Globally validate user input in classic ASP


What is the best your favorite way of globally validating user input in classic ASP?

I inherited a legacy classic ASP project where I need to validate user input. Currently no validation is done. In ASP.net one can set <pages validateRequest="true" /> in web.config - is there something similar to this in classic ASP?

The only other way I can think of, to validate user input, is by going into each and every page - I hope someone has a more efficient idea :-)

Thanks a lot in advance!


Solution

  • I won't answer your first question because it is subjective. :)

    There is no equivalent to ASP.NET Request Validation in ASP Classic. You must build one yourself.