Hello,
I'm trying to implement a "friendly" error page. Where in the case of
receiving an HTTP 404 (for example) error for a page, having the browser
redirect the user to what a marketing person has decided is more helpful
screen.
After searching I think I've found where the code needs to be
implemented in nsHTMLDocument, and have an nsIHTTPChannel. Is there
anyway to redirect this channel to the URL I have ready?
I know an nsHTTPChannel has (or had) a ::Redirect() function, but I was
unable to access this.
Any suggestions would be greatly appreciated.
Oh yeah, I'm also working from a 0.9 base, so if some of this is out of
date, please excuse the ignorance. Our source should hopefully soon be
up on 0.91 or maybe even 0.92 sometime soon. Thank you in advance!
--
Dan Kalowsky "Tonight I think I'll walk alone,
Worldgate Communications I'll find my soul as I go home."
Software Engineer - TICS Group - Temptation