Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTP Error 403-7

Status
Not open for further replies.

mgreer

Programmer
Jan 9, 2001
45
US
I need to force a redirection to the 403-7.htm page. How can I do this in asp?

Any help is appriciated.
 
As long as the file is on the webserver, you should be able to just use....

response.redirect "../path of file"

This has to be done before you write any HTML headers to the page, but this should do it.
 
Thank you. I actually decided to use this technique:

Response.Status = "403 Forbidden"
Response.Write Response.Status
Response.End
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top