ENHANCEMENT Ticket (closed)

Auth->logout() : Option to kill/recreate active session could be useful

###What happened: When I used $this->Auth->logout() in my controller, I could not terminate the active session as well. ###What was expected: It would be nice if $this->Auth->logout() took a boolean parameter that killed and recreated the session as well (using $this->Session->destroy()) if required, since an authenticated session is often directly related to the currently active session.
on 04.20.09 reported by: randallj2877
on 04.20.09 by randallj2877
Another idea that I had was to have Auth->logout() take a parameter that is an array of Session keys to delete. This might offer more flexibility than the boolean parameter I referred to in my initial post.
on 04.20.09 by AD7six
- **status** was changed to _invalid_ If this is for the cakebook application, please give more details if it's for the core - please open in the right place (trac.cakephp.org)