validate()
validate(string $user = null) : boolean
Reset the current session information in case it does not match the authentication information anymore.
Parameters
string | $user | The user the session information is being requested for. This is usually empty, indicating the current user. |
Returns
boolean —True if the session is still valid.