How to return a 403 error to the client browser?

G

Gaetan

From within the ASP.Net 1.1 application, I verify whether the user is authorized to use
the application by checking its membership within a local group. In some cases, when the
user is not authorized, I simply want to return an error code (403) to the client browser
and not redirect the client to any specific page within the web application.

How can I return a 403 (or any error code for that metter) to the client browser?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top