Translations:Manual:SessionManager and AuthManager/25/en

To test if a session is currently active where you would have previously used code like $1, fetch the Session object and use its $2 method.