zendframework / zend-session

Manage and preserve session data, a logical complement of cookie data, across multiple page requests by the same client.
BSD 3-Clause "New" or "Revised" License
42 stars 64 forks source link

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

Open Xerkus opened 7 years ago

Xerkus commented 7 years ago

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 .

ozzpy commented 7 years ago

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!

duepi commented 7 years ago

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

weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-session; a new issue has been opened at https://github.com/laminas/laminas-session/issues/7.