Ignore Expires if not defined
This commit is contained in:
parent
91fcf1f5c7
commit
b95fa5505c
@ -36,7 +36,7 @@ Cookie.prototype.toString = function()
|
||||
}
|
||||
cookieStr += i + "=" + this.param[i] + ";";
|
||||
}
|
||||
cookieStr += "Path=" + p + ";" + " Expires=" + e + ";";
|
||||
cookieStr += "Path=" + p + ";" + ( e ? ( " Expires=" + e + ";" ) : "" );
|
||||
return cookieStr;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user