cookie library and helpers doesn't work |
I'm trying to set a cookie to count how many visitors(hits) my posts already have. But the cookie is not sent, what I'm doing wrong?? In my debugging i get "null", or if I try dd($_COOKIE[$cookieName] i get an error.
PHP Code: if (! has_cookie($cookieName, $ipVisitante, "__HitPost-")) {
The following values are invalid.
->withPath(current_url()) ->withDomain(base_url()) |
Welcome Guest, Not a member yet? Register Sign In |