Re: Access non CakePHP session from within CakePHP
The Session Helper and Component are wrapper classes that allow you to access values stored in PHP's $_SESSION superglobal. You can access anything in it from the Helper and Component just as easily as the superglobal as well. On Aug 16, 6:26 am, Fabs wrote: > Ahh, I see cakePHP doesn't seem to touch it. Thanks. > > On Aug 12, 1:30 am, CobaltShark wrote: > > > > > The $_SESSION array should have what your looking for. > > > On Aug 11, 12:15 am, Fabs wrote: > > > > G'day all > > > > I'm integrating CakePHP into a legacy CMS. The CMS stores all of its > > > session data in the generic php session (it never calls session_name > > > ()). I need to retrieve this session data to prevent requiring users > > > to log in twice to use the old and the new functions. Is there a way > > > to do this? > > > > Thanks everyone.- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Access non CakePHP session from within CakePHP
Ahh, I see cakePHP doesn't seem to touch it. Thanks. On Aug 12, 1:30 am, CobaltShark wrote: > The $_SESSION array should have what your looking for. > > On Aug 11, 12:15 am, Fabs wrote: > > > > > G'day all > > > I'm integrating CakePHP into a legacy CMS. The CMS stores all of its > > session data in the generic php session (it never calls session_name > > ()). I need to retrieve this session data to prevent requiring users > > to log in twice to use the old and the new functions. Is there a way > > to do this? > > > Thanks everyone. --~--~-~--~~~---~--~~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Access non CakePHP session from within CakePHP
The $_SESSION array should have what your looking for. On Aug 11, 12:15 am, Fabs wrote: > G'day all > > I'm integrating CakePHP into a legacy CMS. The CMS stores all of its > session data in the generic php session (it never calls session_name > ()). I need to retrieve this session data to prevent requiring users > to log in twice to use the old and the new functions. Is there a way > to do this? > > Thanks everyone. --~--~-~--~~~---~--~~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Access non CakePHP session from within CakePHP
G'day all I'm integrating CakePHP into a legacy CMS. The CMS stores all of its session data in the generic php session (it never calls session_name ()). I need to retrieve this session data to prevent requiring users to log in twice to use the old and the new functions. Is there a way to do this? Thanks everyone. --~--~-~--~~~---~--~~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Access non CakePHP session from within CakePHP?
G'day everyone I'm planning to integrate CakePHP with a legacy CRM site in use. My problem is with authentication. The legacy CRM stores session data just in $_SESSION (it doesn't call session_name()). Is there a straightforward way to access this data from within CakePHP, or should I somehow hack the CRM to insert data into CakePHP's session system? (I don't know how to do this) Any help will be appreciated. Thanks all. --~--~-~--~~~---~--~~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---