Session("page_start") bijhouden, kun je in AiAi logging terugvinden, interessant bij timeouts
svn path=/Website/trunk/; revision=35235
This commit is contained in:
@@ -371,7 +371,13 @@ function LogErrorToFile()
|
||||
Session.Contents.Remove("last_caller");
|
||||
if (Request.ServerVariables("HTTP_REFERER").Count)
|
||||
__DoLog("Referer: " + Request.ServerVariables("HTTP_REFERER"));
|
||||
|
||||
if (Session("page_start"))
|
||||
{
|
||||
var now = new Date();
|
||||
var start = new Date(Session("page_start"));
|
||||
var duration = Math.round((now.getTime() - start.getTime()) / 100) / 10;
|
||||
__SafeDoLog("Page started at " + toISODateTimeString(start) + " which is " + duration + " seconds ago");
|
||||
}
|
||||
__SafeDoLog(ShowSourcecode(-8, +4));
|
||||
|
||||
if (Request.QueryString.Count>0) // Hele URL is al wel gelogd maar dit is leesbaarder
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
Functies gaan naar shared.inc
|
||||
*/
|
||||
|
||||
Session("page_start") = (new Date()).getTime(); // kun je in AiAi logging terugvinden, interessant bij timeouts
|
||||
|
||||
// Diverse andere variabelen zijn afhankelijk van rooturl en vooral customerId. H<><48>l vroeg bepalen dus!
|
||||
var rooturl;
|
||||
var customerId;
|
||||
|
||||
Reference in New Issue
Block a user