summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/SessionHandler.php
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2015-10-26 10:48:44 +0100
committerJaime Perez Crespo <jaime.perez@uninett.no>2015-10-26 10:48:44 +0100
commita0407d17cccc4a00aa1cec4b18e613019adf8744 (patch)
treeed2dfb39bc93944cdc4808311ff12aaf32373e02 /lib/SimpleSAML/SessionHandler.php
parent72d787c20bf70701f6627e6481136a843ce96d71 (diff)
downloadsimplesamlphp-a0407d17cccc4a00aa1cec4b18e613019adf8744.zip
simplesamlphp-a0407d17cccc4a00aa1cec4b18e613019adf8744.tar.gz
simplesamlphp-a0407d17cccc4a00aa1cec4b18e613019adf8744.tar.bz2
Avoid session cookies being set twice, hopefully for good.
Diffstat (limited to 'lib/SimpleSAML/SessionHandler.php')
-rw-r--r--lib/SimpleSAML/SessionHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SimpleSAML/SessionHandler.php b/lib/SimpleSAML/SessionHandler.php
index debfba0..8d14c09 100644
--- a/lib/SimpleSAML/SessionHandler.php
+++ b/lib/SimpleSAML/SessionHandler.php
@@ -62,9 +62,9 @@ abstract class SimpleSAML_SessionHandler
/**
- * Retrieve the session id of saved in the session cookie.
+ * Retrieve the session ID saved in the session cookie, if there's one.
*
- * @return string The session id saved in the cookie.
+ * @return string|null The session id saved in the cookie or null if no session cookie was set.
*/
abstract public function getCookieSessionId();