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

Method setName was not defined in SessionConfig #1

Open
PlanetTheCloud opened this issue Feb 20, 2019 · 3 comments
Open

Method setName was not defined in SessionConfig #1

PlanetTheCloud opened this issue Feb 20, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@PlanetTheCloud
Copy link

Hi, I've tried to use the project with the example code on README and I get this Exception: Fatal error: Uncaught Error: Call to undefined method Burzum\Session\SessionConfig::setName().
After checking the file, that method really did not exist.

@burzum
Copy link
Owner

burzum commented Mar 13, 2019

@PlanetGamingGG the library is not finished. There is a line in bold in the readme.md that tells you:

This is not yet production ready!

Feel free to help finishing the implementing if you like to.

However, you can try to call setSessionName() instead of setName(), see:

https://github.com/burzum/php-session/blob/master/src/SessionConfig.php#L91

@burzum burzum self-assigned this Mar 13, 2019
@burzum burzum added the bug Something isn't working label Mar 13, 2019
@burzum
Copy link
Owner

burzum commented Mar 13, 2019

@PlanetGamingGG I'm going to push a few more fixes and updated documentation later today. If you still have an interest in the lib please let me know and I'll finish it as needed.

@PlanetTheCloud
Copy link
Author

Hi, Unfortunately I've used Symfony's Http Foundation which has Session Management built into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants