Index: trunk/kernel/include/usersession.php
===================================================================
diff -u -N -r2849 -r2882
--- trunk/kernel/include/usersession.php (.../usersession.php) (revision 2849)
+++ trunk/kernel/include/usersession.php (.../usersession.php) (revision 2882)
@@ -582,6 +582,13 @@
$sql = 'REPLACE INTO '.GetTablePrefix().'SessionData (SessionKey,VariableName,VariableValue) VALUES (%s,%s,%s)';
$db->Execute( sprintf($sql, $db->qstr($sessionkey), $db->qstr($variableName), $db->qstr($variableValue) ) );
+ if( class_exists('kApplication') )
+ {
+// echo 'var stored ['.$variableName.'] = ['.$variableValue.']
';
+ $application =& kApplication::Instance();
+ $application->StoreVar($variableName, $variableValue);
+ }
+
// echo "
UPDATE: $sql
";
//}
}