Tim Pushor wrote:
>
> Thanks guys, you have pointed me in the right direction. Being a raw cgi
> programmer, I have developed methodology for doing things and is sometimes
> challenging to 'undo'.
>
> I do have questions regarding using HTTP errors though:
>
> - Does IE display the error page that you designed, or a 'friendly error'?
Recent versions of IE have tended to display friendly errors, but
I believe this can be circumvented if you have a long enough error
message in bytes, which I read once, but I don't know how long that is.
> - Can I pass information into the error page? Like error messages?
>
You could have an ErrorDocument be an ASP script, but Apache will
call it only with special %ENV/ServerVariables data on normal
errors like 500s. If you wanted to have some custom error.inc
that you call for user defined errors, you could call it however
you like & pass in whatever args as in:
$Response->Clear(); # clear preceding buffer
$Server->Transfer('error.inc', @args);
But to get args into a normal ErrorDocument?
I don't know what will happen if you defined the
error document with a query string, like:
$Response->ErrorDocument(500, 'error.asp?arg1=1&arg2=2')
?? Might not work.
--Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]