Back to product page

WeOnlyDo.Server.WebUser


Class that provides methods and properties for handling connected user.


Properties
BytesDownloadHolds total number of bytes downloaded by the user.
BytesUploadHolds total number of bytes uploaded by the user.
DocumentRootHolds root path for user's documents.
LoginHolds user's login (if provided).
PasswordHolds user's password (if provided).
RemoteIPHolds IP address from where user connects.
RemotePortHolds port used on client's side.
RequestReturns reference to current request.
ResponseReturns reference to current response.
SessionVarsReturns collection of session variables.
StateHolds user's state.
TagTag for misc usage.
TimeConnectedHolds date/time when user has connected.
Methods
CreateErrorPageCreates custom error page.
CreateErrorResponseCreates custom error and fills in Response automatically.
CreateFolderBrowserPageCreates folder listing that can be presented to the user.
CreateResponseCreates an empty Response.
ExecuteASPXExecute ASP.Net WebPage and send it back to client.
SendResponseSends response back to the client.
WebSocketReceiveTextReceives text from WebSocket.
WebSocketSendTextSends text to WebSocket.

Platforms

Windows