Request.TotalBytes meeloggen in AiAi

svn path=/Website/branches/v2016.2/; revision=31087
This commit is contained in:
Jos Groot Lipman
2016-10-13 15:22:15 +00:00
parent 8923482e59
commit 32551b7027

View File

@@ -347,6 +347,7 @@ function LogErrorToFile()
__SafeDoLog(ASPErrorText());
if (Request.ServerVariables("HTTP_REFERER").Count)
__DoLog("Referer: " + Request.ServerVariables("HTTP_REFERER"));
__SafeDoLog(ShowSourcecode(-8, +4));
if (Request.QueryString.Count>0) // Hele URL is al wel gelogd maar dit is leesbaarder
@@ -355,6 +356,10 @@ function LogErrorToFile()
}
try
{
var method = Request.ServerVariables("REQUEST_METHOD");
if (method == "POST" || Request.TotalBytes > 0)
__DoLog("POSTed " + Request.TotalBytes + " bytes");
if (Request.Form.Count>0)
__DoLogForm();
}