Logo Head Picture  free e- mail 
 thaimail 
 hotmail 
 yahoo 
 siam2you 
 thammasat
 Home  Visual Basic Active Server Page  JavaScript   Network   Other 
 Active Server Pages.











PROPERTY:  Response.Status

The Status property specifies the value of the HTTP status line returned by the server This is a three digit number followed by a short description.

Code:
<%
IPAddress = Request.ServerVariables("REMOTE_ADDR")
If IPAddress <> "208.5.64.223" Then
   Response.Status = "403 Access Forbidden"
   Response.Write Response.Status
   Response.End
End If
%>
 
<HTML>
<HEAD>
</HEAD>
<BODY>
You have accessed this page through the IP Address of 208.5.64.223. </BODY>
</HTML>

The output of the above is the following if the IP address of the client is 208.5.64.223:
You have accessed this page through the IP Address of 208.5.64.223.
 
Otherwise the output is as follows if the IP address is not 208.5.64.223:
403 Access Forbidden

Copyright 2000 by Infinite Software Solutions, Inc.
Trademark Information

ASP - Link
ASP reference   
B   
C   
D   
E   
F   
G   
Last update: Copyright © 2001.Memo Wil@keo everything that I like Co.,Ltd.