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

[Docs] Session Manager initialization code example seems to be severely outdated #7

Open
weierophinney opened this issue Dec 31, 2019 · 3 comments
Assignees
Labels
Bug Something isn't working Documentation

Comments

@weierophinney
Copy link
Member

Code and config examples in Initializing the Session Manager appear to be in conflict with what is expected by the current code as far as i can see. In fact, that example is not functional even with fixes suggested in #61

I'll look into that by tuesday .


Originally posted by @Xerkus at zendframework/zend-session#71

@weierophinney
Copy link
Member Author

I have the same worry. by the way, if you follow the example and even if you put the correct config array. there is a conflict if you configure the session_name option. the session do not store and is gone!


Originally posted by @ozzpy at zendframework/zend-session#71 (comment)

@weierophinney
Copy link
Member Author

IMHO custom SessionManager::class factory doesn't fire at all, probably because of an alias in ConfigProvider.php :

'aliases' => [ SessionManager::class => ManagerInterface::class, ],

Some tips needed, plz


Originally posted by @duepi at zendframework/zend-session#71 (comment)

@froschdesign
Copy link
Member

The entire code example is useless and wrong. The session manager has a factory and this should be described here.

@froschdesign froschdesign self-assigned this Feb 10, 2021
@froschdesign froschdesign added this to the 2.10.1 milestone Feb 10, 2021
@froschdesign froschdesign removed this from the 2.10.1 milestone Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Documentation
Projects
2 participants