Returning an HTTP error from a page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a status page that I want to return an http error (e.g. 500) depending
on the internal status of my application.

It seems that I should be able to do this with Response.AppendHeader, but I
can't find any specifics.

Thanks
 
FYI, I want to return a real http error, instead of something human readable,
beacuse I want to monitor this page with a program that already understands
http errors.
 

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

Back
Top