{"issue":{"created_at":"2011-11-24T16:15:35Z","state":"closed","updated_at":"2011-12-04T14:14:31Z","comments":2,"user":{"gravatar_id":"bfa57f520573c23f0621824b466a4c47","id":1112546,"url":"https://api.github.com/users/tigranazatyan","avatar_url":"https://secure.gravatar.com/avatar/bfa57f520573c23f0621824b466a4c47?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tigranazatyan"},"body":"Displays warning in <b>dev</b> environment, when admin changes user data, such as name or password, and user logged out\r\n\r\n<b>Warning: session_regenerate_id() [<a href='function.session-regenerate-id'>function.session-regenerate-id</a>]: Session object destruction failed in E:\\test.go\\lib\\Symfony\\app\\cache\\dev\\classes.php line 453\r\n500 Internal Server Error - ErrorException </b>\r\n\r\n\r\nSymfony2.0.6\r\nPHP 5.3.8\r\nWindows7\r\nsession.save_path = \"E:/Server/tmp\" in php.ini\r\n\r\n\r\n\r\n<code>\r\nsecurity:\r\n\r\n    providers:\r\n        fos_userbundle:\r\n            id: fos_user.user_manager\r\n\r\n    firewalls:\r\n        main:\r\n            pattern: ^/\r\n            form_login:\r\n                provider: fos_userbundle\r\n                always_use_default_target_path: true\r\n                default_target_path: /\r\n                target_path_parameter: _target_path\r\n                use_referer: false\r\n                login_path: /login\r\n            logout: true\r\n            anonymous:    true\r\n            remember_me:\r\n                key: 143fc82638dbf88\r\n                name: sec2\r\n                lifetime: 604800 # in seconds\r\n                always_remember_me: false\r\n                remember_me_parameter: _remember_me\r\n\r\n    access_control:\r\n        - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }\r\n        - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY}\r\n        - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }\r\n        - { path: ^/admin, role: ROLE_ADMIN }\r\n        - { path: ^/client, role: [ROLE_USER, ROLE_ADMIN]}\r\n        \r\n\r\n    role_hierarchy:\r\n        ROLE_ADMIN:       ROLE_USER\r\n        ROLE_SUPER_ADMIN: ROLE_ADMIN\r\n\r\n</code>\r\n\r\nand  <b> config.yml<b>\r\n\r\n<code>\r\n...\r\n    session:\r\n        default_locale: %locale%\r\n        auto_start:     true\r\n...\r\n</code>","assignee":null,"labels":[],"id":2343043,"number":2717,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"session_regenerate_id","closed_at":"2011-12-04T14:14:31Z","html_url":"https://github.com/symfony/symfony/issues/2717","url":"https://api.github.com/repos/symfony/symfony/issues/2717","milestone":null},"action":"closed"}