From a613c1925004cdf5148efac326def45ead71c361 Mon Sep 17 00:00:00 2001 From: Drak Date: Wed, 12 Sep 2012 13:40:47 +0200 Subject: [PATCH] [HttpFoundation] Remove misleading documentation. Removed some critically incorrect information. --- components/http_foundation/sessions.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/http_foundation/sessions.rst b/components/http_foundation/sessions.rst index db4c8405988..e51f7d1784e 100644 --- a/components/http_foundation/sessions.rst +++ b/components/http_foundation/sessions.rst @@ -69,13 +69,12 @@ Session workflow Starts the session - do not use ``session_start()``. * :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::migrate`: - Regenerates the session id - do not use ``session_regenerate_id()``. + Regenerates the session ID - do not use ``session_regenerate_id()``. This method can optionally change the lifetime of the new cookie that will be emitted by calling this method. * :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::invalidate`: - Clears the session data and regenerates the session id do not use ``session_destroy()``. - This is a shortcut for ``clear()`` and ``migrate()``. + Clears the all session data and regenerates session ID do not use ``session_destroy()``. * :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::getId`: Gets the session ID. Do not use ``session_id()``.