Skip to content

Methods for cWebSessionManagerStandard

View method list in alphabetical order.

Name Type Description Defining Class
CreatePasswordHash Function Creates a hash of the provided String using the cPasswordHasher class cWebSessionManagerStandard
CreateSession Function Sent when a new session is being created cWebSessionManagerStandard
EndSession Procedure Sent to end a session cWebSessionManagerStandard
IsLoggedIn Function Determine whether the user is logged in cWebSessionManagerStandard
SetUserPassword Function Changes the provided user name to the given password in the WebAppUser table cWebSessionManagerStandard
UpdateSessionProperties Procedure Called when validating a session and after logging in to update properties based on the session and user data cWebSessionManagerStandard
UserLogin Function Attempts to login in a user with the passed user name and password cWebSessionManagerStandard
UserRegister Function It creates a new User in the WebAppUser table cWebSessionManagerStandard
ValidateSession Function Called as part of each server request to make sure the session is valid cWebSessionManagerStandard
VerifyPasswordHash Function Verifies a provided password and hash using the cPasswordHasher class cWebSessionManagerStandard

Inherited Methods from cWebSessionManager

Name Type Description Defining Class
AllowViewAccess Function Triggers an AllowAccess call to the view cWebSessionManager
CreateSession Function User hook to manage what to do when creating a new client/server session cWebSessionManager
EndSession Procedure Ends a session cWebSessionManager
IsLoggedIn Function Hook to provide logic to test if the application user is currently logged in cWebSessionManager
RequestLogin Procedure Requests a Login cWebSessionManager
RequestLogout Procedure Performs a logout and a reset of the session cWebSessionManager
UserLogin Function Performs a login with the passed params cWebSessionManager
ValidateSession Function User hook to validate the passed session key cWebSessionManager

Inherited Methods from cBaseWebComponent

Name Type Description Defining Class
AddHttpResponseHeader Procedure Sets a specific response header cBaseWebComponent
ClearErrors Procedure Clears the error queue cBaseWebComponent
ErrorCount Function Returns the number of errors in the current error queue cBaseWebComponent
ErrorMessage Function Returns the error message for an index in the error queue cBaseWebComponent
ErrorMessageDetailed Function Returns a detailed (more technical) error message for an index in the error queue cBaseWebComponent
ErrorNumber Function Returns the DataFlex error number for an index in the error queue cBaseWebComponent
ErrorQueueEnd Procedure Ends an error queue process cBaseWebComponent
ErrorQueueStart Procedure Used to start an error queue for a web request cBaseWebComponent
GetCookie Function Reads a cookie key cBaseWebComponent
IsQueuedError Function Returns True if errors are being queued cBaseWebComponent
LogErrorEvent Procedure Raises an error and explicitly logs the error in the event log cBaseWebComponent
LogEvent Procedure Logs an event to the Web Application's event log cBaseWebComponent
ServerVariable Function Allows retrieval of IIS Server Variable values cBaseWebComponent
SetCookie Procedure Used to update a cookie key cBaseWebComponent

Inherited Methods from cObject

Name Type Description Defining Class
ChildByIndex Function Can be used to iterate the direct children of an object cObject
ClassSuperClass Function Returns the superclass of the passed class cObject
Create Function Creates an object based on the passed Class Id cObject
CreateNamed Function Creates an object based on the passed Class Id and assigns it a name Name based on a passed name cObject
Destroy Procedure Destroys the object that receives the message and any child objects of that object cObject
Exit_Application Procedure Starts the process of closing an application cObject
IsClassOfClass Function Determines whether the target class is part of the searched class's hierarchy cObject
IsObjectOfClass Function Determines whether the passed class is part of the object's class hierarchy cObject
ObjectClass Function Returns the integer class ID assigned to the class this object is based on cObject
Request_Destroy_Object Procedure Use the Destroy method instead cObject