Found it out thanks to Jurian, ADmad adn kabturek on IRC:
Set the session.cookie_domain in APP/config/bootstrap.php

ini_set('session.cookie_domain', 'example.com');

thnx!

On Oct 4, 1:13 pm, Primeminister <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a website with multiple subdomains and I want the session
> cookie to be valid for the main domain like .example.com instead of
> computer.example.com or books.example.com
> I'm trying to set a domain and path to be used for the session
> cookie.
> But I don't see a method/setter in CakeSessions or the Session
> component.
>
> Do I miss something? Anybody some ideas?
>
> Thnx!
> primeminister
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to