Skip to content

Listing possible values of storage_id #14861

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

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

ThomasLandauer
Copy link
Contributor

Taken from https://stackoverflow.com/a/29563414/1668200

I think there should be a full list of possible values. And the existence of this SO question shows that there is none ;-)

@javiereguiluz
Copy link
Member

Listing information like this is always problematic because code can change and we can't keep docs updated. Instead of this, let's tell the reader to run this command $ php bin/console debug:container session.storage. to know the exact storages available in their app.

@ThomasLandauer
Copy link
Contributor Author

There you go :-) I see your point, but on the other hand I think there should be a detailed explanation of all those storages somewhere. What do you think?

And I don't quite understand the difference to handler_id - its description is exactly the same:

The service id used for session storage.

But in fact, handler_id is about the storage location (Symfony folder, PHP folder, Redis)? But what is save_path then?

@javiereguiluz
Copy link
Member

Thanks Thomas! Let's merge this now and the pending question can be tackled in another issue or PR. Thanks!

@javiereguiluz javiereguiluz merged commit 068db7f into symfony:4.4 Jan 22, 2021
@ThomasLandauer ThomasLandauer deleted the patch-8 branch January 22, 2021 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants