-
Notifications
You must be signed in to change notification settings - Fork 683
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#775] Ensure session cookies are kept across FunctionalTest requests
Two fixes 1. Keep cookies with no Max-Age set across FunctionalTest requests No Max-Age means keep for the browser session. Without this fix using FunctionalTest without a maxAge in config file will lose session cookies on every request. 2. Add timestamp to new session even if we had no old session. The timestamp was never set the first time the session cookie was created, so the first session cookie always got discarded.
- Loading branch information
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters