Maybe you could try what is posted here?
https://trac.cakephp.org/ticket/830

Clayton

brandags wrote:
> Hello,
>
> I have a website where each user gets their own subdomain
> (http://whatever.domain.com).
> They login from the main site (www.domain.com), but once they login, it
> redirects them to their subdomain so it looks like their editing their
> content on their own domain.
> However, when I redirect them to it, I lose all session information I
> saved during the login process (such as permission level, user_id,
> etc). If I go back to the www domain, the session variables are back.
>
> I noticed that the "host" property in the CakeSession object is
> different, of course, and wonder if that may have anything to do with
> it. But I'm not sure how to change it or if that would even fix the
> problem. Is what I'm wanting possible or does anyone have any
> suggestions? How do sessions handle variables across subdomains?
> 
> Thanks,
> Brandags


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to