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

Separate local data and session data #69

Open
flowersinthesand opened this issue Aug 16, 2012 · 1 comment
Open

Separate local data and session data #69

flowersinthesand opened this issue Aug 16, 2012 · 1 comment

Comments

@flowersinthesand
Copy link
Owner

The session method will handle only session sockets' data, and the local method will be added to handle local socket's data.

// Can be accessed by socket on other tabs
$.socket().session("key", "value");
// Cannot be accessed by socket on other tabs
$.socket().local("key", "value");
@flowersinthesand
Copy link
Owner Author

Finding possible use cases using the session method...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant