jquery plugin for session storage with limited support for cross protocol storage
JavaScript
Permalink
Failed to load latest commit information.
README.markdown Update README.markdown Apr 4, 2013
jquery.session.js Update jquery.session.js Sep 3, 2012

README.markdown

JQuery Session Plugin

Provides a simple interface into window.sessionStorage while providing limited support for cross protocol requests.

Usage

$.session.set('some key', 'a value');

$.session.get('some key');
> "a value"

$.session.clear();

$.session.get('some key');
> undefined

$.session.set('some key', 'a value').get('some key');
> "a value"

$.session.remove('some key');

$.session.get('some key');
> undefined