1. Set the session security level to high, so that the session clears
away after some time, even
though the user does not logs off.
2. Or else, set a redirect code in login method in users controller to
redirect
the logged in user(by checking auth user array) to the home page or
profile page like,
if($this->Auth->user('id')){
$this->redirect('/')l
}
Regards,
Krishnan Nair.
==================
CakeBake
--~--~---------~--~----~------------~-------~--~----~
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