Sign in Join
FPDoc Onlineexperiment

TSessionFactory.CreateSession function

Member of TSessionFactorypublicIn unit fpHTTP

Creates a new user session

Declaration

pascal
function CreateSession(ARequest: TRequest): TCustomSession

Arguments

ARequest

HTTP request associated with the session

Function result

The newly created session object

Description

CreateSession creates a new user session for the specified HTTP request.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.