mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 19:29:09 +02:00
* Let TSessionHTTPModule.CheckSession really create a new session when there is none
git-svn-id: trunk@14576 -
This commit is contained in:
parent
d56bd6d246
commit
699c07ce7f
@ -342,8 +342,8 @@ procedure TSessionHTTPModule.CheckSession(ARequest : TRequest);
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
{$ifdef cgidebug}SendMethodEnter('SessionHTTPModule('+Name+').CheckSession');{$endif}
|
{$ifdef cgidebug}SendMethodEnter('SessionHTTPModule('+Name+').CheckSession');{$endif}
|
||||||
If CreateSession and Assigned(FSession) then
|
If CreateSession and Assigned(Session) then
|
||||||
FSession.InitSession(ARequest,FOnNewSession,FOnSessionExpired);
|
Session.InitSession(ARequest,FOnNewSession,FOnSessionExpired);
|
||||||
{$ifdef cgidebug}SendMethodExit('SessionHTTPModule('+Name+').CheckSession');{$endif}
|
{$ifdef cgidebug}SendMethodExit('SessionHTTPModule('+Name+').CheckSession');{$endif}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user