session in jquery

Solutions on MaxInterview for session in jquery by the best coders in the world

showing results for - "session in jquery"
Nicole
11 Sep 2020
1You need to reffer this tutorial:
2
3http://phprocks.letsnurture.com/create-session-with-jquery/
4
5Add required files and refer code -
6
7jquery-1.9.1.js and jquery.session.js
8ex.
9
10To set session:
11
12$(function() {
13 $.session.set("myVar", "Hello World!");
14});
15To get session:
16
17alert($.session.get("myVar"))