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

Namespacing of session keys #12

Open
thaven opened this issue Feb 9, 2017 · 0 comments
Open

Namespacing of session keys #12

thaven opened this issue Feb 9, 2017 · 0 comments

Comments

@thaven
Copy link

thaven commented Feb 9, 2017

Libraries should generally be careful to limit chances of naming conflicts with applications using the library and other libraries used by the application. As session data keys are only session-scoped, such naming conflicts may arise. Therefore, using a library specific namespace prefix in session keys is probably a good habit. I.e. something like projectname.key (which is the way I do it in the oauth project).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant