Index: trunk/kernel/include/modules.php =================================================================== diff -u -r361 -r402 --- trunk/kernel/include/modules.php (.../modules.php) (revision 361) +++ trunk/kernel/include/modules.php (.../modules.php) (revision 402) @@ -792,7 +792,7 @@ $CookieTest = isset($_COOKIE["CookiesTest"]) ? $_COOKIE["CookiesTest"] : ''; $HTTP_REFERER = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; -if ( ($CookieTest == 1) || !strstr($HTTP_REFERER, $_SERVER['SERVER_NAME'].$objConfig->Get("Site_Path"))) { +if ( ($CookieTest == 1) || !strstr($HTTP_REFERER, $_SERVER['HTTP_HOST'].$objConfig->Get("Site_Path"))) { $SessionQueryString = FALSE; } @@ -903,4 +903,4 @@ if( !isset($SearchPerformed) ) $SearchPerformed = false; if($SearchPerformed == true) $objSearch->BuildIndexes(); LogEntry("Finished Loading Module action scripts\n"); -?> +?> \ No newline at end of file