CodeIgniter Forums

Full Version: cookies on subdomains
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]AtlantixMedia[/eluser]
Hello,

this is my situation

1) www.domain.com with cookies set on that domain
2) test.domain.com
3) test1.domain com

how can I make the cookies "global" so that test.domain.com and test1.domain.com see them too?

thanks in advance

El Forum

[eluser]Sean Murphy[/eluser]
Quote:For site-wide cookies regardless of how your site is requested, add your URL to the domain starting with a period, like this: .your-domain.com
http://ellislab.com/codeigniter/user-gui...elper.html