Returning an HTTP error from a page

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
 
G

Guest

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

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top