Open In App
Related Articles

ASP Status Property

Improve Article
Save Article
Like Article

The ASP Status Property is used to specify the value of the status of the asp page which is returned by the user. This Property is also used to change the status of the asp page. 



Parameter Values: This property accepts a single value as mentioned above and described below:

  • statusdescription: It represents a three-digit number and specifies the description of the code.

Note: Error 404 means page not found.

Example: Below code illustrates the ASP Status Property.


if ip<>"194.248.333.500" then
 response.Status="401 Unauthorized"
end if

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 31 Jul, 2020
Like Article
Save Article
Similar Reads
Complete Tutorials