Symfony2 API
Class

Symfony\Component\Security\Core\Exception\SessionUnavailableException

class SessionUnavailableException extends AuthenticationException

This exception is thrown when no session is available.

Possible reasons for this are:

a) The session timed out because the user waited too long.
b) The user has disabled cookies, and a new session is started on each
request.

Methods

string getMessageKey()

Message key to be used by the translation component.

Details

at line 31
public string getMessageKey()

Message key to be used by the translation component.

Return Value

string