Index: trunk/core/units/general/inp_ses_storage.php =================================================================== diff -u -N -r2596 -r2784 --- trunk/core/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 2596) +++ trunk/core/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 2784) @@ -23,7 +23,7 @@ if ($ses_mode == 0) $mode = smGET_ONLY; if ( defined('ADMIN') && ADMIN ) $mode = smAUTO; $this->SetMode( $mode ); - $this->SetCookieDomain( SERVER_NAME ); + $this->SetCookieDomain( $this->Application->IsAdmin() ? SERVER_NAME : '.'.SERVER_NAME ); parent::Init($prefix,$special); if (!defined('ADMIN')) { Index: trunk/kernel/units/general/inp_ses_storage.php =================================================================== diff -u -N -r2596 -r2784 --- trunk/kernel/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 2596) +++ trunk/kernel/units/general/inp_ses_storage.php (.../inp_ses_storage.php) (revision 2784) @@ -23,7 +23,7 @@ if ($ses_mode == 0) $mode = smGET_ONLY; if ( defined('ADMIN') && ADMIN ) $mode = smAUTO; $this->SetMode( $mode ); - $this->SetCookieDomain( SERVER_NAME ); + $this->SetCookieDomain( $this->Application->IsAdmin() ? SERVER_NAME : '.'.SERVER_NAME ); parent::Init($prefix,$special); if (!defined('ADMIN')) {