Skip to content

Enable the session continuity interceptor (part of FFB).#257

Open
bseeger wants to merge 5 commits intomainfrom
add_session_interceptor
Open

Enable the session continuity interceptor (part of FFB).#257
bseeger wants to merge 5 commits intomainfrom
add_session_interceptor

Conversation

@bseeger
Copy link
Copy Markdown
Contributor

@bseeger bseeger commented May 22, 2024

Users will get redirected to the index page in the event of a session timeout. This will prevent users from continuing on w/o knowing that their session expired and their record is now split.

Remove creation of a session in static page controller, as this is not necessary.

@bseeger
Copy link
Copy Markdown
Contributor Author

bseeger commented May 22, 2024

@spokenbird here's a pass at this. I think we should skip this for the current release, but try for the next one. There are a few things to be worked out as I don't think this is quite right yet. And I think the ffl needs a change as well to address an issue in the session interceptor code. At any rate, this is a first pass, but I don't feel confident moving forward with this as I think it will still throw an error when a session times out.

} else {
implementation "org.codeforamerica.platform:form-flow:${formFlowLibraryVersion}"
println "📚Using form flow library ${formFlowLibraryVersion}"
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These if / else's are temporary.

@bseeger
Copy link
Copy Markdown
Contributor Author

bseeger commented May 23, 2024

Screenshot 2024-05-23 at 10 28 34 AM

bseeger added 4 commits June 3, 2024 17:16
Users will get redirected to the first page in the event of a
session timeout.  This will prevent users from continuing on w/o
knowing that their session expired and their record is now split.

Remove creation of a session in static page controller, as this is not
necessary.
@bseeger bseeger force-pushed the add_session_interceptor branch from 90a6c22 to 065e50e Compare June 3, 2024 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants