| View previous topic :: View next topic |
| Author |
Message |
Toppy
Sergeant

 Joined: Mar 09, 2006 Posts: 149 Location: Belgium
|
Posted: Sun Jun 29, 2008 2:27 am Post subject: Extending cookie expiration ? |
|
|
Hi,
Sorry for bothering once more, but it is somehow possible (using sidki's config) to extend non-session cookies to the year 2012 for example ?
Right now, more and more forums make you login again after only a few days and it would be great to have the cookies last longer.
TIA! 
|
|
| Back to top |
|
 |
whenever
Lieutenant

 Joined: May 18, 2007 Posts: 164 Location: China
|
Posted: Sat Jul 05, 2008 2:37 pm Post subject: |
|
|
Try adding below line to CookieValues.ptxt:
| Code: |
$URL(http://your.target.site/)expires\=[^;]+ $SET(a=$GET(a)\0\1expires=Mon, 20-Jul-2018 23:59:59 GMT)
|
|
|
| Back to top |
|
 |
Toppy
Sergeant

 Joined: Mar 09, 2006 Posts: 149 Location: Belgium
|
Posted: Sat Jul 05, 2008 9:22 pm Post subject: |
|
|
Once again, thanks a lot whenever.
Could it be refined to extend ALL non-session cookies, no matter on which site ?
|
|
| Back to top |
|
 |
Toppy
Sergeant

 Joined: Mar 09, 2006 Posts: 149 Location: Belgium
|
Posted: Sat Jul 05, 2008 9:53 pm Post subject: |
|
|
Ok, I was able to refine it, so it only happens when the url start with forum(s), please correct me if i did something wrong
| Code: | | $URL(http://forum(s|).*)expires\=[^;]+ $SET(a=$GET(a)\0\1expires=Mon, 20-Jul-2018 23:59:59 GMT) |
|
|
| Back to top |
|
 |
Toppy
Sergeant

 Joined: Mar 09, 2006 Posts: 149 Location: Belgium
|
|
| Back to top |
|
 |
whenever
Lieutenant

 Joined: May 18, 2007 Posts: 164 Location: China
|
Posted: Sun Jul 06, 2008 3:04 pm Post subject: |
|
|
Does below entry work?
| Code: |
forum.zappybaby.be $SET(0=d_noextendcookies.)
|
|
|
| Back to top |
|
 |
|
|