A
Axel Dahmen
Hi,
in one of my pages I want to return "403 Forbidden" to the client depending
on some logic in my .aspx code-behind. So I set "Response.Status = 403". But
apparently IE seems to ignore the status and displays the page as usual.
When I cancel the output using Response.End(), nothing is displayed on the
browser, but actually what I'm expecting is this usual white page showing
the "Forbidden ask your administrator..." text.
What did I do wrong?
TIA,
Axel Dahmen
in one of my pages I want to return "403 Forbidden" to the client depending
on some logic in my .aspx code-behind. So I set "Response.Status = 403". But
apparently IE seems to ignore the status and displays the page as usual.
When I cancel the output using Response.End(), nothing is displayed on the
browser, but actually what I'm expecting is this usual white page showing
the "Forbidden ask your administrator..." text.
What did I do wrong?
TIA,
Axel Dahmen