Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
library
LICENSE
README.md

README.md

##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:

  1. Download Apache Maven version 3.1 or greater and then install it.

  2. Follow this tutorial to create a Google App Engine project, and replace the project id in the <application> tag in demo/integrated/src/main/webapp/WEB-INF/appengine-web.xml.

  3. Upload the app to App Engine by running mvn appengine:update under demo/integrated folder.

  4. 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.

This is not an official Google product.

You can’t perform that action at this time.