From 3ac659e9c52d263ddc42c2cdb7b77023594f5631 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Mon, 23 Dec 2013 04:58:12 +0000 Subject: 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. --- mod/xref.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/xref.php') 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 = ''; -- cgit v1.2.3