G-Bomb
Joined: 29 Feb 2004 Posts: 73
|
Posted: Tue Mar 09, 2004 10:22 pm Post subject: Generating "Error 403 - Forbbidden" (ASP) |
|
|
Using this code, you can generate that annoying Error 403 that won't let you into certain places of some websites. This page is sent a name from a form on another page:
| Code: | <%@ LANGUAGE="VBScript" %>
<%
name = Request.QueryString("Name")
If name <> "Paul"
Response.Status = "403 Forbidden"
End If
%>
<html>
<body>
<%
Response.Write "Welcome back " & name
%>
</body>
</html> |
|
|