diff --git a/lib/SimpleSAML/SessionHandler.php b/lib/SimpleSAML/SessionHandler.php index 7c18ac210c4afbe0b1da6118e442877b38e8e317..a8d4ad0efb00042a03ebd54aa084f4afa4d14d43 100644 --- a/lib/SimpleSAML/SessionHandler.php +++ b/lib/SimpleSAML/SessionHandler.php @@ -97,6 +97,16 @@ abstract class SessionHandler abstract public function loadSession($sessionId = null); + /** + * Check whether the session cookie is set. + * + * This function will only return false if is is certain that the cookie isn't set. + * + * @return bool True if it was set, false if not. + */ + abstract public function hasSessionCookie(); + + /** * Set a session cookie. * @@ -129,19 +139,6 @@ abstract class SessionHandler } - /** - * Check whether the session cookie is set. - * - * This function will only return false if is is certain that the cookie isn't set. - * - * @return bool True if it was set, false if not. - */ - public function hasSessionCookie() - { - return true; - } - - /** * Get the cookie parameters that should be used for session cookies. *