Amit,
Thanks for the reply,
Amit, Team,
I'm using 1.3.5 Stable version.
BTW, I also created a new empty project with two tables, items and users
in the AppController I wrote:
var $components=array('Auth');
function beforeFilter() {
$this->Auth->loginRedirect =
array('controller'=>'items','action'=>'index');
$this->Auth->logoutRedirect =
array('controller'=>'users','action'=>'login');
$this->set('loggedIn',$this->Auth->user('id'));
//$this->Auth->allow('signup');
}
function isAuthorized() {
//parent::isAuthorized();
return true;
}
and I didn't write anything in the login function in the UserController.
My problem again the login informations stored in the cookies !!!!, I
don't want to store these data without the user confirmation.
Thanks for your help
On Nov 12, 2010, at 5:53 AM, Amit Badkas wrote:
> Hi,
>
> Which CakePHP version are you using?
>
> Amit
>
> PHP Applications for E-Biz: http://www.sanisoft.com
>
>
> On Thu, Nov 11, 2010 at 6:32 AM, Muhaimen Ezabbad <[email protected]> wrote:
> Hello Experts,
>
> I'm new to CakePHP world, I'm working on an internal project to test
> myself.
>
> My Issue with the Auth. The Login Process works fine, but my issue
> that the CakePHP stores the login data in the cookies automatically.
>
> How can I prevent the automatic storing of the login data to the
> cookies? BTW, I tried to use the remeberme checkbox, but I found that it
> creates another cookie!
>
> Best regards
>
> Muhaimen Ezabbad
> Mobile: +218 91 3930082
> Tripoli, Libya
>
> 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 [email protected]
> 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
>
>
> 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 [email protected]
> 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
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 [email protected]
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