diff options
author | Thomas Willingham <founder@kakste.com> | 2013-12-23 04:58:12 +0000 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-12-23 04:58:12 +0000 |
commit | 3ac659e9c52d263ddc42c2cdb7b77023594f5631 (patch) | |
tree | e46af795a99ffb9f2d033f4a7d5ade49c9925962 /mod/xref.php | |
parent | ca05565fcc51ebcbb032a800c4ee22074d3bad44 (diff) | |
download | volse-hubzilla-3ac659e9c52d263ddc42c2cdb7b77023594f5631.tar.gz volse-hubzilla-3ac659e9c52d263ddc42c2cdb7b77023594f5631.tar.bz2 volse-hubzilla-3ac659e9c52d263ddc42c2cdb7b77023594f5631.zip |
Reduce life of xref cookie per Opinion 04/2012 on Cookie Consent Exemption.
Otherwise, we need to annoy everyone with cookie warnings if they access
a hub in the EU.
Diffstat (limited to 'mod/xref.php')
-rw-r--r-- | mod/xref.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/xref.php b/mod/xref.php index c296bf0e1..95cc22aa7 100644 --- a/mod/xref.php +++ b/mod/xref.php @@ -7,7 +7,7 @@ function xref_init(&$a) { // Cookie lasts 24 hours to survive a browser restart. Contains no personal // information at all - just somebody else's xchan. $referrer = argv(1); - $expire=time()+60*60*24; + $expire=time()+60*60*2; $path = 'xref'; setcookie($path, $referrer, $expire, "/"); $url = ''; |