summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/SimpleSAML/SessionHandler.php8
-rw-r--r--lib/SimpleSAML/SessionHandlerCookie.php8
-rw-r--r--lib/SimpleSAML/SessionHandlerPHP.php8
3 files changed, 12 insertions, 12 deletions
diff --git a/lib/SimpleSAML/SessionHandler.php b/lib/SimpleSAML/SessionHandler.php
index 90eb511..c16d506 100644
--- a/lib/SimpleSAML/SessionHandler.php
+++ b/lib/SimpleSAML/SessionHandler.php
@@ -47,12 +47,12 @@ abstract class SimpleSAML_SessionHandler {
}
- /* This function retrieves the session id of the current session.
+ /**
+ * Retrieve the session id of saved in the session cookie.
*
- * Returns:
- * The session id of the current session.
+ * @return string The session id saved in the cookie.
*/
- abstract public function getSessionId();
+ abstract public function getCookieSessionId();
/**
diff --git a/lib/SimpleSAML/SessionHandlerCookie.php b/lib/SimpleSAML/SessionHandlerCookie.php
index 16be64f..0aca668 100644
--- a/lib/SimpleSAML/SessionHandlerCookie.php
+++ b/lib/SimpleSAML/SessionHandlerCookie.php
@@ -55,12 +55,12 @@ extends SimpleSAML_SessionHandler {
}
- /* This function retrieves the session id of the current session.
+ /**
+ * Retrieve the session id of saved in the session cookie.
*
- * Returns:
- * The session id of the current session.
+ * @return string The session id saved in the cookie.
*/
- public function getSessionId() {
+ public function getCookieSessionId() {
return $this->session_id;
}
diff --git a/lib/SimpleSAML/SessionHandlerPHP.php b/lib/SimpleSAML/SessionHandlerPHP.php
index 37b12d4..f2009bd 100644
--- a/lib/SimpleSAML/SessionHandlerPHP.php
+++ b/lib/SimpleSAML/SessionHandlerPHP.php
@@ -65,12 +65,12 @@ class SimpleSAML_SessionHandlerPHP extends SimpleSAML_SessionHandler {
}
- /* This function retrieves the session id of the current session.
+ /**
+ * Retrieve the session id of saved in the session cookie.
*
- * Returns:
- * The session id of the current session.
+ * @return string The session id saved in the cookie.
*/
- public function getSessionId() {
+ public function getCookieSessionId() {
return session_id();
}