web 2.0

ASP Response.AppendToLog() - Response Object

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

ASP & Response.AppendToLog()

.
.
.

Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.