userman icon indicating copy to clipboard operation
userman copied to clipboard

Namespacing of session keys

Open thaven opened this issue 8 years ago • 0 comments

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).

thaven avatar Feb 09 '17 15:02 thaven