Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: jQuery
Hello Friends
i m using session in jquery but it is return error

Microsoft JScript runtime error: Object doesn't support property or method 'session'

i m use
$.session("example", "mysession");

pls help me
Thanks and Regards
pardeep barak
Posted 31-Jan-13 19:19pm
JemiM at 1-Feb-13 0:23am
did you add the jquery plugin?
Tadit Dash at 1-Feb-13 3:07am
Can you tell which plugin you have used for Session?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Follow the link - session handling in jquery[^].

Assuming you're referring to this plugin[^], your code should be:
// To Store
$(function() {
    $.session.set("myVar", "value");

// To Read
$(function() {
Before using a plugin, remember to read its documentation in order to learn how to use it. In this case, an usage example can be found in the README.markdown file, which is displayed on the project page.
Tadit Dash at 1-Feb-13 5:43am
Thanks for accepting.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Zoltán Zörgő 320
1 CHill60 165
2 BillWoodruff 120
3 Peter Leow 120
4 bling 80
0 Sergey Alexandrovich Kryukov 9,423
1 OriginalGriff 6,891
2 Peter Leow 4,637
3 Zoltán Zörgő 4,304
4 CHill60 2,932

Advertise | Privacy | Mobile
Web03 | 2.8.150129.1 | Last Updated 1 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100