I know I can set Response.StatusCode
to an integer value, such as 500. How can I set it to 401.2?
You could use the SubStatusCode property. You should note that setting this property requires running in IIS 7.0 integrated pipeline mode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With