On Apr 18, 1:40 pm, acl68 <[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
> I was programming an application with Cake and all was well ;-)
> Then my colleague and I had the idea to share the login procedure with
> the applications he is maintining, so that the login in his
> application and the information should be passed on to my cake
> application -> Single Sign On for our users!
>
> Now I have deep trouble to get those two applications to work
> together. Using the user table from the other database was simple, but
> checking whether somebody has already logged on is what I don't get to
> work. The Userinformation is in the common user table, but how can I
> load the userinformation in my application without an additional
> login?
>
> Has anyone an idea?
>
> My ideas are:
> 1. Switch Cake session handling completely off and use the session
> objects of the general application. But how can I do that?
>
> 2. Transfer the information from Object/Session_otheraplication to
> Object/Session_myCakeapplication . But how can I achieve this? To make
> things worse, both varaiable in which teh Sessiondata ist stored are
> called $session.
>
> The Non-Cake application is the leading application so I cannot change
> anything / much there.
>
> Thanks in advance for any hints and ideas!
You may want to reset the Session cookie name from CAKEPHP to
PHPSESSID or anything that the other application is using. Look at
core.php
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---