static int setCookie_defaultExpirationDays = 365; static void setCookie(S name, S value) { setCookie(name, value, setCookie_defaultExpirationDays); } static void setCookie(S name, S value, int cookieDays) { // hopefully this refreshes the expiration? call(getCookieHandler(), "set", name, urlencode(value), cookieDays); }
Began life as a copy of #1003105
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003106 |
Snippet name: | setCookie |
Eternal ID of this version: | #1003106/1 |
Text MD5: | 57ad785640924176a768f0184bc3d6af |
Author: | stefan |
Category: | eleu / javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-04-30 23:04:23 |
Source code size: | 341 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 672 / 660 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |