The SessionManager type exposes the following members.
Back to Top
Back to Top
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 SessionsInfo 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 hashtable.
| |
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 hasthtables.
| |
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 to the database.
|
Properties
Name | Description | |
---|---|---|
AuthenticatedUsers |
Returns number of authenticated users or current site.
| |
HiddenUsers |
Returns number of hidden users.
| |
OnlineUsersEnabled |
Gets the value that indicates whether online users feature is enabled.
| |
PublicUsers |
Returns number of public users of current site.
| |
StoreOnlineUsersInDatabase |
Gets the value that indicates whether online users should be saved in the database.
|
See Also