Index: trunk/kernel/include/usersession.php =================================================================== diff -u -r35 -r36 --- trunk/kernel/include/usersession.php (.../usersession.php) (revision 35) +++ trunk/kernel/include/usersession.php (.../usersession.php) (revision 36) @@ -37,6 +37,7 @@ { //echo "with cookies"; if( !isset($_SERVER['HTTP_REFERER']) ) $_SERVER['HTTP_REFERER'] = ''; + if(strlen($id) && (strstr($_SERVER['HTTP_REFERER'], $_SERVER['SERVER_NAME'].$objConfig->Get("Site_Path")) || $_GET['destform'] == 'popup' || $_GET['continue_sess'] == 1)) { $this->Set("SessionKey",$id);