-
Notifications
You must be signed in to change notification settings - Fork 1.1k
SpringSessionWebSessionStore createSession is not related to WebSessionIdResolver ? #1148
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
Comments
I'm not sure I understand the problem you're having @vernezhou. Could you provide an example that demonstrates the problem? |
Sorry!
The createSession() method in the SpringSessionWebSessionStore class has nothing to do with the WebSessionIdResolver.
Get a WebSession through the DefaultWebSessionManager is associated with the WebSessionIdResolver
|
Thanks for following up @vezhou. OK, so your concern is actually the generation of session id. As stated in the Session id is actually generated by the underlying |
Closing as answered. If you have additional questions or feel that your original question isn't properly answered, please re-open the issue. |
SpringSessionWebSessionStore only has the createSession method, and does not provide createSession(String id). The session id obtained by executing createSession has nothing to do with WebSessionIdResolver, but is generated directly by UUID. So I have no meaning in defining WebSessionIdResolver, it only works for getting session, but it has nothing to do with creating session.
The text was updated successfully, but these errors were encountered: