TSessionFactory class
Factory for managing user sessions
Declaration
TSessionFactory = class(TComponent)Inheritance
- TSessionFactory
- TComponent
- TPersistent
- TObject
Description
TSessionFactory provides session management functionality including creation, cleanup, and configuration.Properties
DoneCount | protected | |
CleanupInterval | public | Session cleanup interval in minutes |
DefaultTimeOutMinutes | public | Default session timeout in minutes |
SessionCookie | public | Name of the session cookie |
SessionCookiePath | public | Path for the session cookie |
SecureSession | public | |
SameSitePolicy | public | |
GenerateCSRFToken | public |
Methods
DoCreateSession | protected | |
DoDoneSession | protected | |
DoCleanupSessions | protected | |
Create | public | Creates a new instance of the component. |
CreateSession | public | Creates a new user session |
DoneSession | public | Finalizes a user session |
CleanupSessions | public | Cleans up expired sessions |
Inherited
From TComponent (75)
_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo Destroy DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState
From TPersistent (5)
Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (37)
AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
