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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.