Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'path' to setCookie #7

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Mar 14, 2018

  1. Added connect_error event.

    This event is raised by socket.io in the event of the websocket-server not being available and throwing an ERR_CONNECTION_REFUSED error. This is distinct and different from the `disconnect` event which ewd-client already caters for.
    geoidesic committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    d50d352 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2018

  1. Configuration menu
    Copy the full SHA
    7158c77 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2018

  1. Merge pull request #1 from geoidesic/connect_error-event

    Added `connect_error` event.
    geoidesic committed May 22, 2018
    Configuration menu
    Copy the full SHA
    35ee4d1 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'has-method'

    Noel da Costa committed May 22, 2018
    Configuration menu
    Copy the full SHA
    73df327 View commit details
    Browse the repository at this point in the history
  3. Added 'path' to EWD.setCookie function

    When a user of an SPA hits page refresh or uses a bookmark as an entry
    point into the app, it is necessary to call the EWD.setCookie function
    in order to re-register the session and to map the session cookie to
    the new web socket.
    
    If the href has a different path to that when the token was first
    generated, you can end up in a situation where QEWD loses track of the
    session because it is seen as a new token.
    
    This modification allows one to prevent this undesirable behaviour by
    providing the ability to specify the cookie’s path and providing a
    sensible default for an SPA
    Noel da Costa committed May 22, 2018
    Configuration menu
    Copy the full SHA
    af65fd3 View commit details
    Browse the repository at this point in the history