alexchittock / jquery-session-plugin Goto Github PK
View Code? Open in Web Editor NEWjquery plugin for session storage with limited support for cross protocol storage
jquery plugin for session storage with limited support for cross protocol storage
Sorry, my fault. Merge Mismatch...
In Firebug i get following error
SyntaxError: invalid range in character class
in
if ((new RegExp(this._generatePrefix() + '.+')).test(kv[0]) && kv[1]) {
any suggestions?
error:
'SCRIPT5007: Unable to get value of the property 'getItem': object is null or undefined
jquery.session.js, line 85 character 13'
i have implemented with jquery draggable. but, it makes error and stop other js from working also.
The random _id in the name creates 100+ different cookies over time and sooner or later leads to HTTP error code 431 Request Header Fields Too Large and site stops responding...
I changed this:
if (!window.name) {
window.name = Math.random();
}
to this:
if (!window.name) {
window.name = 'fixedName';
}
which fixes it.
Is there a specific reason you are using the random name?
Regards,
Alex
using 'delete' as a method name triggers a parse error in Safari 5.0.5 and older, and IE8 and older.
This session jquery is working fine for me. But the problem i faced when i try to get the paying amount, i get output as "[object Object] instead of amount, i.e "100, 70" etc.
here is my code for paying amount session:
Hi
After adding the script to my project i have the following error visible in the firebug console:
TypeError: cookies[i].split is not a function
thrown by "var kv = cookies[i].split('=');" inside "_initCache: function()"
Situation as is: there are no cookies from that domain.
May it be that there is an error handling missing, if cookies is not filled correctly?
Hi,
Please help me regarding this if i created a session using this plugin i can access this session in next tab.
Its working in only one tab.
So please help me regarding this ASAP.
Thank You
Akhil
[email protected]
Trying getting any session value returns undefined
$.session.get('user_id')
I've check session on backend, value is present.
if ($.session.get("leftbarCollapsed") == "true") // works
if ($.session.get("leftbarCollapsed") == true) // doesn't work
if ($.session.get("leftbarCollapsed")) // neither does this
IE7 throws an error called window.sessionStorage in NULL or not an object when we are trying to fetch the stored data
this plugin is working fine but when i wants to get the session value in php using $_SESSION[] its not available...
I thing there is only one season exists at once and if this plugin is able to set that session then no matter what it should be accessible by another programming language also...
When I am trying to print print_r( $_SESSION ) in php which is to show all session variables and there values its showing an empty Array()
I am confused if the way this plugin is working is there any real session exists or its just saving some values while moving from page to page.
At the end is there any way to access $.session in PHP?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.