matteodem:server-session

v0.4.2Published 10 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Meteor ServerSession

This package provides a simple serverside implementation of the Session. It uses the same API:

1ServerSession.set(key, value);
2ServerSession.get(key);
3ServerSession.equals(key, expected, identical = true);

You can also define a condition, which returns true or false (if false it won't set any value)

1ServerSession.setCondition(function (key, value)); // Should only be invoked on the server

There's no setDefault now, as it doesn't make any sense to me as of now, write a ticket if you think otherwise.

meteor add matteodem:server-session