Skip to content
Snippets Groups Projects
Commit eceef567 authored by Olav Morken's avatar Olav Morken
Browse files

SessionHandler: Rename getSessionId to getCookieSessionId.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2494 44740490-163a-0410-bde0-09ae8108e29a
parent 85e859a0
No related branches found
No related tags found
No related merge requests found
......@@ -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();
/**
......
......@@ -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;
}
......
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment