Index: branches/RC/core/units/general/inp_ses_storage.php =================================================================== diff -u -r8929 -r9639 --- branches/RC/core/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 8929) +++ branches/RC/core/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 9639) @@ -42,6 +42,17 @@ $this->SetField('GroupList', $group_list); } } + + function Destroy() + { + $this->Storage->DeleteSession($this); + $this->Storage->DeleteEditTables(); + $this->Data =& new Params(); + $this->SID = ''; + if ($this->CookiesEnabled) $this->SetSessionCookie(); //will remove the cookie due to value (sid) is empty + $this->SetSession(); //will create a new session + } + } class InpSessionStorage extends SessionStorage {