"pbd22" <du*****@gmail.comwrote in message
news:11**********************@31g2000cwt.googlegro ups.com...
I want to tell the browser that there is no content coming back from
ther server and I want to do it in the HTTP Headers. The status code
is "204" for no content.
How do i do this? I am using VB.NET.
Do you mean something like this in web.config:
<customErrors defaultRedirect="ErrorPage.aspx" mode="On">
<error statusCode="500" redirect="servererror.aspx" />
<error statusCode="404" redirect="filenotfound.aspx" />
<error statusCode="403" redirect="accessdenied.aspx" />
<error statusCode="204" redirect="nocontent.aspx" />
</customErrors>
http://www.google.co.uk/search?sourc...econfig%22+404