ASP Response.AppendToLog() - Response Object Adds custom log information to the Internet Information Services (IIS) log file.
ShotDev Focus:
- The text to add to the log file.
Example
asp_response_appendtolog.asp
<% Option Explicit %>
<% Response.AppendToLog "Cannot Connect to database"%>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Response.write("Welcome To www.ShotDev.Com<br>")
Response.write("Now = "& Now())
%>
</body>
</html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_response_appendtolog.asp
Screenshot
.
.
.
 
			



 Loading ...
 Loading ...