This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpFoundation
Fabien Potencier a5ccda47b4 merged branch martinmayer/session_saving (PR #1937)
Commits
-------

34a1b53 [HttpFoundation] Do not save session in Session::__destroy() when saved already

Discussion
----------

[HttpFoundation] Saving session data in __destroy() has a side effect on functional tests

Having functional test with several non-insulated requests, TestSessionListener invokes session saving at the end of every request. But instance of Session remains in memory until it's collected by garbage collector which saves the same data again in __destroy() method. The problem is that session object can get collected after other requests changed session data (e. g. user logged in) resulting in former data overwriting the latter.
2011-08-19 14:17:33 +02:00
..
File [HttpFoundation] tagged public @api 2011-07-20 10:06:02 +02:00
SessionStorage [Various] Typos 2011-07-28 10:28:20 +02:00
ApacheRequest.php [HttpFoundation] fixed a small bug on Windows 2011-03-17 12:28:29 +01:00
Cookie.php [HttpFoundation] tagged public @api 2011-07-20 10:06:02 +02:00
FileBag.php [HttpFoundation] tagged public @api 2011-07-20 10:06:02 +02:00
HeaderBag.php [HttpFoundation] tagged public @api 2011-07-20 10:06:02 +02:00
LICENSE added LICENSE files for the subtree repositories 2011-02-22 18:58:15 +01:00
ParameterBag.php [HttpFoundation] tagged public @api 2011-07-20 10:06:02 +02:00
RedirectResponse.php [HttpFoundation] tagged public @api 2011-07-20 10:06:02 +02:00
Request.php fixes a bug when overriding method via the X-HTTP-METHOD-OVERRIDE header 2011-08-18 12:18:12 +02:00
RequestMatcher.php merged branch schmittjoh/httpUtilFixes (PR #1739) 2011-07-22 14:45:54 +02:00
RequestMatcherInterface.php [HttpFoundation] tagged public @api 2011-07-20 10:06:02 +02:00
Response.php Remove Content-Length header adding for now. Fixes #1846. 2011-08-13 17:30:17 +03:00
ResponseHeaderBag.php [HttpFoundation] tagged public @api 2011-07-20 10:06:02 +02:00
ServerBag.php [HttpFoundation] Fixed incorrect ServerBag comment 2011-07-28 11:27:56 +02:00
Session.php [HttpFoundation] Do not save session in Session::__destroy() when saved already 2011-08-10 16:34:36 +02:00