[Klone-users] Re: Response_Redirect And Sessions

Stefano Barbato barbato at koanlogic.com
Thu Aug 7 04:55:39 EDT 2008


Hi,

you can set the error code yourself with:

<%
     response_set_status(response, 500);
%>

otherwise you can redirect to an error page:

<%
     response_redirect(response, "/server-error-page.kl1");
%>

bye,
s


On 07/ago/08, at 10:18, diakat 2000 wrote:

> Sorry about my last question!
> I've found the error. It was an error inside the page.
>
> I've an additional question: Is it possible to "throw" a http-error
> and set the http status code (e.g. "500") if such an error occurs?
> Or is there another way to avoid showing an empty page?
>
> Regards
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>





More information about the klone-users mailing list