Request.TotalBytes meeloggen in AiAi
svn path=/Website/branches/v2016.2/; revision=31087
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user