Configure::write('Security.level', 'high');
This causes cake to regenerate session id's on every request. If you change this level to medium it should stop resetting the session ID.
hope that helps,
Dave
On Thu, Nov 26, 2009 at 2:44 AM, thevikas <mevikas@gmail.com> wrote:
Hi All,
I have used cake for about a year on a moderate level. I have most of
my PHP apps outside cake while some are part of cake. Sharing same
session between cake and php domains has been the hurdle to move the
app into cake.
I understand cookies and how different domains will implicitly NOT
share the session unless I do some coding.
But in cake I fail to locate where to do this coding hack. Even if
somehow bring my php domain's session id into cake domain and set it
(in bootstrap), it gets reset by the time the call gets to the
controller.
Seems like cake is stubborn to control its own session and hates to
import anything.
Please suggest.
Thanks,
Vikas
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment