Forráskód Böngészése

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

git-svn-id: trunk@14576 -
joost 15 éve
szülő
commit
699c07ce7f
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      packages/fcl-web/src/websession.pp

+ 2 - 2
packages/fcl-web/src/websession.pp

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