Unit 'fpHTTP' Package
[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSessionFactory

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Factory for managing user sessions

Declaration

Source position: fphttp.pp line 171

type TSessionFactory = class(TComponent)

public

  function CreateSession();

  

Creates a new user session

  procedure DoneSession();

  

Finalizes a user session

  procedure CleanupSessions;

  

Cleans up expired sessions

  property CleanupInterval: Integer; [rw]

  

Session cleanup interval in minutes

  property DefaultTimeOutMinutes: Integer; [rw]

  

Default session timeout in minutes

  property SessionCookie: string; [rw]

  

Name of the session cookie

  property SessionCookiePath: string; [rw]

  

Path for the session cookie

end;

Inheritance

TSessionFactory

  

Factory for managing user sessions

|

TComponent

|

TPersistent,IUnknown,IInterfaceComponentReference

|

TObject,IFPObserved

Description

TSessionFactory provides session management functionality including creation, cleanup, and configuration.


Documentation generated on: Jan 27 2026