Destroying a session

Published on and tagged with cakephp  feature

An often asked question is how to destroy a session with CakePHP. In the latest version in the trunk (version, a destroy() function has been added to the session component. The usage is simple:

© daniel hofstetter. Licensed under a Creative Commons License