Narcissistic Pickle Meister
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    mojito-session-addonpublic

    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

    Keywords

    none

    install

    npm i mojito-session-addon

    Downloadsweekly downloads

    17

    version

    0.0.8

    license

    none

    last publish

    collaborators

    • avatar