You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if $_SERVER['SERVER_NAME'] returns an IP address, the response header contains Set-Cookie: domain=.192.168.0.5
and because of the leading dot =. the cookies is rejected by some browser.
i recommend to include a condition that check's that and only adds the . if it's really a host name, and not an address.
The text was updated successfully, but these errors were encountered:
i recommend getting rid of the leading dot and setup your domain's dns to redirect any requests for domain.com to www.domain.com, thereby insuring the cookie is set for the proper domain. i believe that redirect also helps with search engines indexing your website correctly.
setting Sessions and Cookies are using the JAR F3 var.
if
$_SERVER['SERVER_NAME']
returns an IP address, the response header containsSet-Cookie: domain=.192.168.0.5
and because of the leading dot =. the cookies is rejected by some browser.
i recommend to include a condition that check's that and only adds the . if it's really a host name, and not an address.
The text was updated successfully, but these errors were encountered: