Click or drag to resize
SessionManager Methods

The SessionManager type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClear
Clears all information from session management about specified site.
Public methodStatic memberGetKickedUsersWhere
Returns WHERE condition for kicked users.
Public methodStatic memberGetOnlineUsers(String, String, Int32, String, String, Boolean, Boolean)
Returns UserInfos of online users according to WHERE condition ordered by ORDER BY expression.
Public methodStatic memberGetOnlineUsers(String, String, Int32, String, String, String, Boolean, Boolean)
Returns UserInfos of online users according to WHERE condition ordered by ORDER BY expression.
Public methodStatic memberGetUsersNumber
Returns number of online users.
Public methodStatic memberGetUsersWhereCondition
Returns where condition which could be used for loading online users from database.
Public methodStatic memberIsUserOnline
Returns true if user with specified userID is online.
Public methodStatic memberKickUser
Performs the necessary actions to kick the user. User id to kick
Public methodStatic memberReindexSessionsInfosHashtable
Re-indexes sessions hashtable - changes key from old site name to new site name.
Public methodStatic memberRemoveAuthenticatedUser
Removes authenticated user from current sessions.
Public methodStatic memberRemoveContactDependencies
Removes object dependencies.
Public methodStatic memberRemoveExpiredSessions
Removes the expired sessions from the hash table.
Public methodStatic memberRemoveExpiredSessions(Boolean, Boolean)
Removes expired sessions.
Public methodStatic memberRemoveExpiredSessionsFromDB
Removes the expired sessions from the database.
Public methodStatic memberRemoveUser(Int32)
Removes user from sessions hashtables.
Public methodStatic memberRemoveUser(Int32, Boolean)
Remove user from sessions hashtables.
Public methodStatic memberRemoveUserFromKicked
Removes user from kicked. User id to kick
Public methodStatic memberUpdateCurrentSession
Updates current user session info from the context.
Public methodStatic memberUpdateDatabaseSession
Gets sessions from hashtables and updates in the database.
Top
See Also