| SessionManager Methods | 
The SessionManager type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|   | Clear | 
            Clears all information from session management about specified site.
             | 
|   | GetKickedUsersWhere | 
            Returns WHERE condition for kicked users.
             | 
|   | GetOnlineUsers(String, String, Int32, String, String, Boolean, Boolean) | 
            Returns UserInfos of online users according to WHERE condition ordered by ORDER BY expression.
             | 
|   | GetOnlineUsers(String, String, Int32, String, String, String, Boolean, Boolean) | 
            Returns UserInfos of online users according to WHERE condition ordered by ORDER BY expression.
             | 
|   | GetUsersNumber | 
            Returns number of online users.
             | 
|   | GetUsersWhereCondition | 
            Returns where condition which could be used for loading online users from database.
             | 
|   | IsUserOnline | 
            Returns true if user with specified userID is online.
             | 
|   | KickUser | 
            Performs the necessary actions to kick the user.
            User id to kick | 
|   | ReindexSessionsInfosHashtable | 
            Re-indexes sessions hashtable - changes key from old site name to new site name.
             | 
|   | RemoveAuthenticatedUser | 
            Removes authenticated user from current sessions.
             | 
|   | RemoveContactDependencies | 
            Removes object dependencies.
             | 
|   | RemoveExpiredSessions | 
            Removes the expired sessions from the hash table.
             | 
|   | RemoveExpiredSessions(Boolean, Boolean) | 
            Removes expired sessions.
             | 
|   | RemoveExpiredSessionsFromDB | 
            Removes the expired sessions from the database.
             | 
|   | RemoveUser(Int32) | 
            Removes user from sessions hashtables.
             | 
|   | RemoveUser(Int32, Boolean) | 
            Remove user from sessions hashtables.
             | 
|   | RemoveUserFromKicked | 
            Removes user from kicked.
            User id to kick | 
|   | UpdateCurrentSession | 
            Updates current user session info from the context.
             | 
|   | UpdateDatabaseSession | 
            Gets sessions from hashtables and updates in the database.
             | 
 See Also
See Also