##Two-Token Based Web Session Management
See blog (URL to be added) for more information. See the live demo app.
To deploy your own version web app:
-
Download Apache Maven version 3.1 or greater and then install it.
-
Follow this tutorial to create a Google App Engine project, and replace the project id in the
<application>
tag indemo/integrated/src/main/webapp/WEB-INF/appengine-web.xml
. -
Upload the app to App Engine by running
mvn appengine:update
underdemo/integrated
folder. -
You can verify the different behaviors in Chrome and FireFox:
- Long Lived Session:
- On FireFox, the session will time out soon (every 1 minute, as we set in SessionUtil.SESSION_LIFETIME).
- On Chrome, the session is long lived. And in developer console, you can verify the session cookie value changes every minute.
- Big Account Change:
- On FireFox, no effect for the big account change.
- On Chrome, the session will be terminated by big account change.
- Long Lived Session:
This is not an official Google product.