Zend Framework: Logout User

April 27th, 2011 by usage | Filed under PHP, Programming

How to logout the user

$auth = Zend_Auth::getInstance();
$auth->clearIdentity();
Zend_Session::forgetMe();

tag_icon

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a comment.

To leave a comment, please fill in the fields below.