* Let TSessionHTTPModule.CheckSession really create a new session when there is none

git-svn-id: trunk@14576 -
This commit is contained in:
joost 2010-01-08 15:20:41 +00:00
parent d56bd6d246
commit 699c07ce7f

View File

@ -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;