« Previous | Next » 

Revision afe9ca75

IDafe9ca756b16bd9129cf035cb82523db33c51423

Added by Kostas Papadimitriou about 11 years ago

UI. Always extract user info from current cookie contents

Refs #3460

Token value set in api action/request is always retrieved from the
current cookie contents. When cookie contents change is detected ui
redirects user to log in.

Cookie changes are detected each time the app tries to use the user
uuid/token information. A window interval (hardcoded to 10 seconds) was added
to access this information to ensure that cookie change logic will be
applied even when ui app gets idle (no api calls are made).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences