If site_host is www.nerdz.eu the cookie wont be valid on mobile, and Thats
evil
Il 18/feb/2014 17:31 "Simone Albano" <dc.jest@gmail.com> ha scritto:

> Thats Why i can't put Host there if contains www.
> Il 18/feb/2014 17:28 "Roberto Frenna" <notifications@github.com> ha
> scritto:
>
>> In splash.php:
>>
>> > @@ -0,0 +1,59 @@
>> > +<?php
>> > +    $referer = $_SESSION['referer'];
>> > +    if(isset($_GET["mobile"]))
>> > +    {
>> > +      unset($_SESSION["referer"]);
>> > +      setcookie("mobile-splash","mobile",2000000000,"/","nerdz.eu",false,true);
>>
>> From the documentation of php.net <http://php.net/setcookie>:
>> Cookies available to a lower domain, such as 'example.com' will be
>> available to higher subdomains, such as 'www.example.com'.
>>
>> --
>> Reply to this email directly or view it on GitHub<https://github.com/nerdzeu/nerdz.eu/pull/39/files#r9829668>
>> .
>>
>