RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSessionsService.CheckStatusChange Method

Checks whether any sessions have started or terminated.

Pascal
function CheckStatusChange: Boolean;
C++
__fastcall Boolean CheckStatusChange();

CheckStatusChange is called automatically when the application creates a new Web context or initializes a new Web module. That is, this method is called at least once every time the application receives a new HTTP request message. 

If CheckStatusChange detects that a session has started or terminated since the last call, it returns true. Otherwise, it returns false. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!