Skip to content

danielmarcoto/asp2console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asp2console

Version 1.0.1

Version 1.0.1: It had added the method flush for allowing to send the response to the client.

A Classic ASP approach to send messages from server to the Browser Console. That's useful for debbuging applications that use AJAX requests to ASP scripts.

Credits for the project Chrome Logger, whom created the protocol to allow the communication between the client and server.

It was tested succesfully on Google Chrome 51 and Firefox 47. Firefox offers native support for the protocol since version 46, while Chrome needs you to install this plugin.

Here is an example:

<!--#include file="asp2console.asp" -->
<%
console.log("Hello console on ASP")
' At the very end of the page
console.Flush
%>

Unfortunately it doesn't work on Firebug console, only on browser's native console.

Thanks for cuixiping and Tuðrul Topuz, both creators of the two project dependencies.

By Daniel Marcoto

About

A Classic ASP approach to debug on browser console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published