Thursday, December 3, 2009

Re: How can I get the current session?

Hi Dave,

thank you for help.

I moved forward a little bit on the issue.

With PHP function session_id() I can get the session id, and it
appears to be the same exact value stored in the 'CAKEPHP' cookie (or
whatever name you configure 'Session.cookie').

I just wonder, even if it is not an issue, if there is any method in
CakePHP Session to get the same.

Best,

Mario


On 3 Dic, 01:11, Dave <davidcr...@gmail.com> wrote:
> You can use the session id as the key as well if you prefer
>
> You just need to be sure to change the Security.level value in your core.php
> to at most medium.  On high it regenerates the session id every request.

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: