CakePHP 2.0 Session->destroy() doesn't destroy data
Hey guys, in my controller, I have the following method:
login(){
$this->Session->write('role', 'admin');
}
logout(){
$this->Session->destroy();
}
Apparently, I can still read the session data, $this->Session->('role'), after destroying it. Anyone can help?
Much is appreciated...
Asked by xbfish, on 7/1/12
1 Answer
<< comments | comments >>
<< previous next >>
Rating
0
Viewed
564 times
Last Activity
on 15/2/12






