This project is archived and is in readonly mode.

#828 ✓resolved
Oskar Krawczyk

Cookie.dispose() fails

Reported by Oskar Krawczyk | January 12th, 2010 @ 10:47 AM | in 1.3.0 rc2 (closed)

It's hard to say weather the implementation is broken or the docs wrong. The docs read:

var myCookie = Cookie.write('username', 'Aaron', {domain: 'mootools.net'});
if (Cookie.read('username') == 'Aaron') { Cookie.dispose(myCookie); }

This fails because an object myCookie is passed to .dispose(), using .dispose('username') would work just fine.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages