Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify settings #3281

Closed
wants to merge 1 commit into from
Closed

Clarify settings #3281

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 4, 2013

Refs #3276

@ghost ghost mentioned this pull request Dec 4, 2013
``session.save_path`` where appropriate.

PHP stock installation usually defaults to the ``files`` handler although this may not be
the case.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to add this at the beginning

@wouterj
Copy link
Member

wouterj commented Dec 4, 2013

This needs to be merged in 2.3, as 2.1 and 2.2 are deprecated and not maintained anymore

@ghost
Copy link
Author

ghost commented Dec 4, 2013

Why, it still valid for Symfony 2.1+

@wouterj
Copy link
Member

wouterj commented Dec 4, 2013

Yes, but the code of 2.0, 2.1 and 2.2 will also not be updated, and we decided to follow that for the docs too

@bamarni
Copy link
Contributor

bamarni commented Dec 6, 2013

Yes this PR makes it more clear, I still think that the first sentence ("By default, ...") is ambiguous though (because of the SE).

What about something like this :

If you're using "session.handler.native_file" session handler, the path where sessions are saved will default to "app/cache/sessions". This means that when you clear the cache, any current sessions will also be deleted.

Then adding a note explaining how to check the configured session handler :

If the session "handler_id" directive is explicitely set in your configuration to something else than ""session.handler.native_file" (null included), you are not concerned by this cookbook entry.

@@ -8,6 +8,17 @@ By default, Symfony stores the session data in the cache directory. This
means that when you clear the cache, any current sessions will also be
deleted.

.. note::

If the ``session`` configuration key set to ``~``, Symfony will use the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key is set

@ghost
Copy link
Author

ghost commented Dec 15, 2013

@bamarni I see you points but this entry IS only about the file storage handler. I'll adapt your text,

Update notes about Symfony Standard
@ghost ghost closed this Dec 15, 2013
@ghost ghost deleted the clarify branch December 15, 2013 09:33
@ghost
Copy link
Author

ghost commented Dec 15, 2013

Rebased to 2.3 in new PR

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants