Skip to content

CedarLogic/two-token-sw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 83.5%
  • JavaScript 13.4%
  • CSS 3.1%