Tuesday, January 17, 2012

Re: AuthComponent using Cookies

Generally, cookies are not designed to be overused (many cookies or
large datasets stored in them), they are being sent to the server
along with every request.

If you _really_ want to substitute SessionComponent in whole
application with CookieComponent, try to remap used class:

class AppController extends Controller {
public $components = array(
'Session' => array('className' => 'Cookie'),
'Auth' => array(
...

- their read/write/delete api is the same, so it _could_ work, as a
workaround, maybe (IDK for sure).

--
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


Real Estate