Revision: 1834
Author: olavmrk
Date: Fri Oct  9 03:39:10 2009
Log: AuthMemCookie: Delete the session cookie when deleting the session.

Update issue 219
Status: Fixed
This patch implements deletion of the AuthMemCookie session cookie when
logging out.
http://code.google.com/p/simplesamlphp/source/detail?r=1834

Modified:
  /trunk/lib/SimpleSAML/AuthMemCookie.php

=======================================
--- /trunk/lib/SimpleSAML/AuthMemCookie.php     Mon Oct  5 04:51:43 2009
+++ /trunk/lib/SimpleSAML/AuthMemCookie.php     Fri Oct  9 03:39:10 2009
@@ -149,9 +149,11 @@
                $sessionID = $_COOKIE[$cookieName];

                /* Delete the session from memcache. */
-
                $memcache = $this->getMemcache();
                $memcache->delete($sessionID);
+
+               /* Delete the session cookie. */
+               setcookie($cookieName, '', 1, '/', NULL,  
SimpleSAML_Utilities::isHTTPS(), TRUE);
        }



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to