I'm trying to do something similar to what MDB is doing, but with two
cakephp apps. How do I pass the auth session info to the other app?

I've checked the core.php session.cookie info, that the variables are
both named the same.

Is there anything else that I need to do?

How do I make the two cakephp apps behave like they are a single app?

On Nov 11, 1:05 pm, teknoid <[email protected]> wrote:
> ensure that cookie session name is the same for both apps.
> see core.php
>
> On Nov 11, 1:17 pm, MDB <[email protected]> wrote:
>
> > Hello all,  I have a site named portal.mysite.com and a site called
> > cakephp.mysite.com.  My users log into portal.mysite.com so I wanted
> > them to be able to go directly into the cakephp.mysite.com without re-
> > logging in.  Is there a way to do this or a setting that I am
> > missing?  The first site is straight PHP and I create the following
> > session however, I can not see it when they go to the cake site.
>
> > $User = array();
> > $User['User']['id'] = $sID;
> > $User['User']['user_type'] = 1;
> > $User['User']['username'] = $sEmail;
> > $User['User']['deleted'] = 0;
>
> > $_SESSION["Auth"] = $User;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to