mojito-session-addon

Yahoo! Mojito is a web framework. This addon provides session management feature to Yahoo! Mojito. For help reach akshar@akshar.co.in

npm install mojito-session-addon
32 downloads in the last month

mojito-session-addon

This is a simple session management library that uses Y.Cache underneath. Add "mojito-session-addon" to the requires:[] array of a mojit controller and the session will be available in following fashion.

In the controller use as actionContext.session.get("key"); and actionContext.session.set("key","value");.

For example check the gist: https://gist.github.com/akshar100/5763632

npm loves you