Quote:
|
The problem is that the MSD works only with Internet Explorer (is attached to it as the book write) and not with ASP applications.That is to say with client and not with server side script (it is not attached to IIS but only to IE).
|
Well for classic, server-side VBScript (i.e. ASP) Response.Write's are a good way to do some debugging to see if variables or recordset fields really contain the information you think they should.
For example in a login page where the user's access level is assigned to a session variable one could do something like the following:
Response.Write objRST("UserName") & "<br>"
Response.Write objRST("UserPassword") & "<br>"
Response.Write objRST("UserAccess") & "<br>"
Response.Flush
Response.End
The second of the last line above is often required if buffering is set on (Response.Buffer = True) which it perhaps usually would be.
The last line above is optional for if you need to stop the code from running after that point (i.e. to avoid a page redirect or something).