Hi everyone,

I have an issue that I'd like people's comment(s) on. I am trying to
integrate an existing app with Cake. We are planning to move the
entire app over to Cake eventually but will have to do it in stages.
So we are planning to write new parts of the app in Cake and slowly
move old stuff over.

The problem that I was having was with sessions. It seems that Cake
closes any existing session before doing anything with sessions within
Cake. Session data from my other app is available in Cake. But session
data that I save in Cake is not available in the other app. I've got
around this by commenting out line 167 in cake/libs/session.php:

        function start() {
                if (function_exists('session_write_close')) {
//                      session_write_close();              <-- this line
                }
                $this->__initSession();
                return $this->__startSession();
        }

This seems to work fine but I was wondering if any of the Cake experts
could point out any negative implications/side effects of doing this.
I would really appreciate any feedback from you guys.

Thanks in advance.

Ziad

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to