Techniques for passing data around
I have used $this->Session->write and $this->Session->read to pass
data around my Cake app. The problem with this method is that the
user could have two or more browser windows on the go and a session
variable could get overwritten. I was wondering if there is a way of
preventing this, like using some sort of browser ID to prefix the
variables name?
I have also used parameters in the URL to pass data. I was also
wondering whether there are any other techniques and which is the best
technique.
Thanks.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home