Skip to content

Commit

Permalink
minor symfony#17649 Sessions refactoring (fabpot)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 5.4 branch.

Discussion
----------

Sessions refactoring

This is my modest attempt to merge everything related to the session into one document.
It's hard as much information was duplicated in several docs.
I hope you will like it.

Commits
-------

0c5fe69 Minor fixes after review
0055c99 Sessions refactoring
  • Loading branch information
wouterj committed Jan 7, 2023
2 parents 422bf52 + 0c5fe69 commit 0e3513f
Show file tree
Hide file tree
Showing 17 changed files with 1,473 additions and 2,103 deletions.
8 changes: 5 additions & 3 deletions _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@
/cookbook/session/index /session
/cookbook/session/limit_metadata_writes /reference/configuration/framework
/session/limit_metadata_writes /reference/configuration/framework
/cookbook/session/locale_sticky_session /session/locale_sticky_session
/cookbook/session/locale_sticky_session /session#locale-sticky-session
/cookbook/locale_sticky_session /session#locale-sticky-session
/cookbook/session/php_bridge /session/php_bridge
/cookbook/session/proxy_examples /session/proxy_examples
/cookbook/session/sessions_directory /session/sessions_directory
Expand Down Expand Up @@ -477,8 +478,9 @@
/components/translation/custom_message_formatter https://github.com/symfony/translation
/components/notifier https://github.com/symfony/notifier
/components/routing https://github.com/symfony/routing
/doctrine/pdo_session_storage /session/database
/doctrine/mongodb_session_storage /session/database
/session/database /session#session-database
/doctrine/pdo_session_storage /session#session-database-pdo
/doctrine/mongodb_session_storage /session#session-database-mongodb
/components/dotenv https://github.com/symfony/dotenv
/components/mercure /mercure
/components/polyfill_apcu https://github.com/symfony/polyfill-apcu
Expand Down
5 changes: 2 additions & 3 deletions components/http_foundation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ the response content will look like this:
Session
-------

The session information is in its own document: :doc:`/components/http_foundation/sessions`.
The session information is in its own document: :doc:`/session`.

Safe Content Preference
-----------------------
Expand Down Expand Up @@ -829,10 +829,9 @@ Learn More
:maxdepth: 1
:glob:

/components/http_foundation/*
/controller
/controller/*
/session/*
/session
/http_cache/*

.. _nginx: https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/
Expand Down
321 changes: 0 additions & 321 deletions components/http_foundation/session_configuration.rst

This file was deleted.

Loading

0 comments on commit 0e3513f

Please sign in to comment.