> Perhaps an option to define a date object for expires as well?
>
> var myDate = new Date();
> myDate.setTime(myDate.getTime() + 30 * 60 * 60 * 1000);
> $.cookie('username', 'fred', {expires: myDate});Sam, sounds reasonable to me. I will add that. -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
