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

Implement session cookies and store #6

Open
11 tasks
nponeccop opened this issue Sep 13, 2015 · 0 comments
Open
11 tasks

Implement session cookies and store #6

nponeccop opened this issue Sep 13, 2015 · 0 comments
Milestone

Comments

@nponeccop
Copy link
Owner

  • crypto:
    • Generation of HMAC-SHA256 session ids
    • Reading HMAC secret from a plaintext file
    • HMAC validation
  • messages:
    • SID parsing from N2O, message
    • Browser cookie generation using IO message
  • store:
    • SID-SocketId IxSet
    • SID-SessionData IxSet
    • A way to access the tables from client code (event handlers)

Session persistence is optional, e.g. a 0.1 server may loose all session data upon restart.

Cookie, Session and Cache stores should support:

  • Expiring of entries
  • get Table Key, put Table Key Value, put Table Key Value Till
  • Unified index Table Key Value for retrieving multiple entries by secondary indexes

PubSub as one of tables should also support:

  • subscribed SocketId
  • subscriptions SocketId
@nponeccop nponeccop modified the milestone: 0.1 Mar 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant