mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 21:48:35 +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
|
||||
{$ifdef cgidebug}SendMethodEnter('SessionHTTPModule('+Name+').CheckSession');{$endif}
|
||||
If CreateSession and Assigned(FSession) then
|
||||
FSession.InitSession(ARequest,FOnNewSession,FOnSessionExpired);
|
||||
If CreateSession and Assigned(Session) then
|
||||
Session.InitSession(ARequest,FOnNewSession,FOnSessionExpired);
|
||||
{$ifdef cgidebug}SendMethodExit('SessionHTTPModule('+Name+').CheckSession');{$endif}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user