Revision: 2146 Author: olavmrk Date: Thu Jan 28 00:17:39 2010 Log: saml2_Message: Add unique SessionIndex for each SP.
Fixes issue 44. http://code.google.com/p/simplesamlphp/source/detail?r=2146 Modified: /trunk/modules/saml2/lib/Message.php ======================================= --- /trunk/modules/saml2/lib/Message.php Tue Jan 26 02:07:33 2010 +++ /trunk/modules/saml2/lib/Message.php Thu Jan 28 00:17:39 2010 @@ -589,8 +589,7 @@ $sessionLifetime = $config->getInteger('session.duration', 8*60*60); $a->setSessionNotOnOrAfter(time() + $sessionLifetime); - $sessionIndex = $session->getSessionIndex(); - $a->setSessionIndex($sessionIndex); + $a->setSessionIndex(SimpleSAML_Utilities::generateID()); /* Add attributes. */ -- 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.
