Questions tagged [jquery-session]

A jQuery plugin for session storage with limited support for cross protocol storage. It provides a simple interface into window.sessionStorage while providing limited support for cross protocol requests.

A jQuery plugin for session storage with limited support for cross protocol storage. It provides a simple interface into window.sessionStorage while providing limited support for cross protocol requests.

Example 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

The official site can be found on GitHub here: http://github.com/AlexChittock/JQuery-Session-Plugin

7 questions
1
vote
4 answers

jquery session - dynamic variable naming

just having a problem here. i'm doing the UI of a web-based app using jquery, css. there's a shopping a cart, and i want to store the selected items in the session, i used jquery.session plugin. e.g. var $.session("var1","item1"); What i want is to…
mars-o
  • 1,695
  • 4
  • 23
  • 38
1
vote
1 answer

Jquery session Lifetime

I am stroring the selected link id in the session. I want to read this session after page gets opened to hi-light that link. But the session gets cleared. Code: $("div.menu_body a").click(function() { …
Geeth
  • 5,282
  • 21
  • 82
  • 133
1
vote
1 answer

JQuery Session problem

I am using jQuery session in my master page. Anything I'm missing? Code: