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

  1. <% Option Explicit %>  
  2. <% Response.AppendToLog "Cannot Connect to database"%>  
  3. <html>  
  4. <head>  
  5. <title>ShotDev.Com Tutorial</title>  
  6. </head>  
  7. <body>  
  8. <%  
  9. Response.write("Welcome To www.ShotDev.Com<br>")  
  10. Response.write("Now = "& Now())  
  11. %>  
  12. </body>  
  13. </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.