Saving session var with jquery doesn't seem to work

jquery, session

Solution

On jsfiddle example you provided there is no session plugin attached. `$.session` is not included in jQuery. You need to use this plugin to have this functionality: Jquery Session Plugin

Then use `$.session.set` and `$.session.get` methods to store and read session keys.

example:

$.session.set("compareLeftContent","value");
alert($.session.get("compareLeftContent"));

Problem

I'm having trouble storing session... Code I'm using: ``` //save to session $.session("compareLeftContent","value"); alert($.session("compareLeftContent")); ``` http://jsfiddle.net/dWsKJ/ to play with. Please any ideas?

Original source