Add missing setCookie in SessionHandler
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 8 Apr 2015 16:34:43 +0000 (18:34 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 8 Apr 2015 16:35:51 +0000 (18:35 +0200)
wcfsetup/install/files/lib/system/session/SessionHandler.class.php

index 4a6ad93d0fbec16e2a7dc1a8d0fecd312db68708..47b590a249fc1bc7030c3baf8f888cbbd054e214 100644 (file)
@@ -817,6 +817,8 @@ class SessionHandler extends SingletonFactory {
                                        if (is_array($variables) && !empty($variables['__SECURITY_TOKEN'])) {
                                                $this->register('__SECURITY_TOKEN', $variables['__SECURITY_TOKEN']);
                                        }
+                                       
+                                       HeaderUtil::setCookie('cookieHash', $this->session->sessionID);
                                }
                        break;
                }