On Sun, Apr 01, 2007, Klaus Hartl wrote: > [...] > >2. specify the expiry time with units as in > > $.cookie("name", "value", { expires: "2m" }) > > instead of having to pass a full pre-established Date() object. > > You don't have to. If you pass a number its the days until epiration: > > $.cookie("name", "value", { expires: "365" });
Yes, but supports the "days" unit only, doesn't it? I usually have to specify times in the minute and hour range... Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com