Yes! When you transfer between applications (I'm guessing you have a link of some description) append the session id onto your querystring and use $this->Session->id($this->params['url']['sess_id']) on the other end. There are more secure approaches to this, but you still need to pass some kind of token so you know your user is really your user.
Adam On Jan 16, 6:58 pm, Kyo <[EMAIL PROTECTED]> wrote: > Yes, I use the same db for both applications. > When I jump from one cake application to another, they store two > session data with different IDs. > Cookie got anything to do with it? > > On 1ζ16ζ₯, εεΎ5:44, AD7six <[EMAIL PROTECTED]> wrote: > > > On Jan 16, 6:15 am, Kyo <[EMAIL PROTECTED]> wrote: > > > > I currently use two Cake applications (beta 1.2) for my project but > > > I'm wondering if there is any way to share session data between those > > > two applications. Both applications have database sessions. > > > Use the same db for both? It's pretty much what db sessions are for. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
