Welcome Guest, Not a member yet? Register   Sign In
How to set cookie ONLY for my domain, except subdomains
#1

[eluser]Mareshal[/eluser]
When using ySLow I found this: http://developer.yahoo.com/performance/r...ookie_free

They recommend us to use another domain, or a subdomain to server static content. I was wondering if this code affect static.my-domain.com? I want to set cookie for main domain, but impossible to read from subdomains.

Code:
$config['cookie_prefix']    = "";
$config['cookie_domain']    = ".my-domain.com";
$config['cookie_path']        = "/";


Messages In This Thread
How to set cookie ONLY for my domain, except subdomains - by El Forum - 09-08-2009, 09:52 AM
How to set cookie ONLY for my domain, except subdomains - by El Forum - 09-08-2009, 12:28 PM
How to set cookie ONLY for my domain, except subdomains - by El Forum - 09-08-2009, 12:30 PM
How to set cookie ONLY for my domain, except subdomains - by El Forum - 09-08-2009, 01:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB