Skip to content

Fixed crash in some cases when invalid session cookie was present.#7

Open
vgrichina wants to merge 1 commit into
burtbeckwith:masterfrom
vgrichina:master
Open

Fixed crash in some cases when invalid session cookie was present.#7
vgrichina wants to merge 1 commit into
burtbeckwith:masterfrom
vgrichina:master

Conversation

@vgrichina
Copy link
Copy Markdown

getCookie in such cases had wrong behavior – even after the new session was created, old cookie was still returned.

getCookie in such cases had wrong behavior – even after the new session was created, old cookie was still returned.
@buildhive
Copy link
Copy Markdown

Burt Beckwith » grails-database-session #6 SUCCESS
This pull request looks good
(what's this?)

@jerrydboonstra
Copy link
Copy Markdown

would love it if this pull request could be merged. I've forked the project and applied it by hand so I could pick up this functionality. This fixes a problem for me that when the session is invalidated (say, editing the value of the SessionProxyFilter_SessionId cookie to something that doesn't exist), the next call would (in my application) create multiple new sessions (one per call to request.getSession()) with only the last one being used. After this patch, only one new session is created.

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

Successfully merging this pull request may close these issues.

3 participants