Classic ASP: Check if headers are sent to the client
-
16-03-2021 - |
質問
Can we tell if HTTP headers are already sent to the browser, in classic ASP?
In PHP, we can use headers_sent() for this.
Using IIS7
解決
Have you checked out the Request or Response Objects? That's the only thing I can think of that would show the header information.
他のヒント
use this example/tutorial:
http://www.w3schools.com/asp/coll_servervariables.asp
ALL_HTTP -- Returns all HTTP headers sent by the client. Always prefixed with HTTP_ and capitalized
Response.Write(Request.ServerVariables ("ALL_HTTP"))
所属していません StackOverflow