Commit 288d0e3
Keith R. Gustafson
When invalidating the session make it possible to start using a new one
Fix an issue where logout would correctly invalidate the session, but the
Context.session remained the invalidated one so any subsequent changes to
session values during that response would be lost. This change clears
Context.session so a new session is created as needed and available for use
during this response, instead of needing to wait for a subsequent request
for the new session to be available.1 parent e5d408f commit 288d0e3
File tree
2 files changed
+15
-5
lines changed- gemini/src/main/java/com/techempower/gemini
- context
2 files changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
389 | 403 | | |
390 | 404 | | |
391 | 405 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
| 309 | + | |
314 | 310 | | |
315 | 311 | | |
316 | 312 | | |
| |||
0 commit comments