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

own implementation session storage #114

Closed
ghost opened this issue Mar 2, 2017 · 4 comments
Closed

own implementation session storage #114

ghost opened this issue Mar 2, 2017 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Mar 2, 2017

Is there any way to be able to manage cookie that sending session manager?
I created own session storage. But after login and redirecting to another page, session manager send anew created cookie that different with saving one it database?

@agrafix
Copy link
Owner

agrafix commented Mar 6, 2017

Can you provide some code?

@ghost
Copy link
Author

ghost commented Mar 7, 2017

https://gist.github.com/Sclaw/e05535dae41d389b3f3cb79a0edded73
It seems to me that my issue is similar to one with number #100
All works ok instead of cookie

@agrafix
Copy link
Owner

agrafix commented Mar 7, 2017

I think your ss_store is wrong, because it does not always store the session. You need to store all sessions that you recieve there, otherwise a new session is generated.

@ghost
Copy link
Author

ghost commented Mar 7, 2017

thanks a lot

@ghost ghost closed this as completed Mar 7, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant