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
Blank Session ID in Module's BeforAction #7310
Comments
You have to start the session first |
Why is that? is there any way to automate session open() like we do in database component? |
starting a session goes at cost of performance |
When you try to access session data, the session will be started automatically. For this session ID access, it will not do so because it is possible you want to check session ID before it is started. |
so where session get started in module for example? AfterAction? |
You can do it in module's |
I have something like below and I get empty session id unless I add session_start() before getting ID
Is this by design or a bug?
The text was updated successfully, but these errors were encountered: