Giter VIP home page Giter VIP logo

ezcookie's Issues

Cookies aren't set in Internet Explorer

What steps will reproduce the problem?
1. Visit http://moonhouse.se/temp/jquerytest/ezcookie.html with IE 8. 

What is the expected output? 

"Cookie set to value "This is a test cookie with EzCookie""

What do you see instead?

"No cookie found"

What version of the product are you using? On what operating system?

EzCookie 0.7 with JQuery 1.4.2 in Internet Explorer 8.0.7600.16385 under 
Windows 7 Home Premium. 

Please provide any additional information below.

Test with CooQuery does work in IE 8. 
http://moonhouse.se/temp/jquerytest/cooquery.html

Original issue reported on code.google.com by [email protected] on 13 Jul 2010 at 11:05

removeCookie should take domain/path

What steps will reproduce the problem?
1. Set a cookie with a domain/path using $.setCookie
2. Remove the cookie by its name using $.removeCookie

What is the expected output? What do you see instead?
Expected: no cookie
I see: here it is!

What version of the product are you using? On what operating system?
Latest

Please provide any additional information below.

I suggest this plugin will use the original jquery.cookie and enhance it with 
JSON/"subcookie" stuff.
Also, clearCookie is superfluous, there's no real need for this function.
Also, null is a valid value for a cookie (in FF at least), undefined should be 
used to indicate the absence of cookie.
Also, naming should be improved, get and set come in pairs. Mixing 
jquery.cookie style naming with get/set leads to confusion.

Also, important, please update, whether you are going to work on the issues 
soon.

Thank you so much.

Original issue reported on code.google.com by [email protected] on 19 Dec 2010 at 1:09

Add Ability to set cookie as a session cookie

If an empty string is passed in the expires attribute of the options object 
when setting a cookie the cookie fails to be set and a javascript exception is 
thrown: 'date.toUTCString() is not a function'.  

Proposed Code Change:
Line 76:     var expires;
       if(options.expires != '') expires= '; expires=' + date.toUTCString();
       else expires = options.expires;

Original issue reported on code.google.com by [email protected] on 4 Nov 2011 at 9:39

Exception in IE9 Beta when removing not existing cookie

What steps will reproduce the problem?
1. Simply call $.removeCookie("somename"); with dummy cookie name. Do NOT check 
whether the cookie exists or not.


What is the expected output? What do you see instead?
Expected: If cookie is set, it is removed, otherwise nothing happens like 
calling $.noop(); ... this behavior works ok with Document mode IE8 and less
Result: JS error "Exception thrown and not caught", line 65, char 5...


What version of the product are you using? On what operating system?
Plugin: v0.70.1
JQuery: v1.4.2
Browser: IE 9 Beta v9.0.7930.16406 (Browser mode: IE9, Document mode: IE9)

Please provide any additional information below.
none

Original issue reported on code.google.com by [email protected] on 15 Oct 2010 at 8:42

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.