RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSessionsService.NotifyStatusChange Method

Generates an OnEndSession or OnStartSession event, as approrpriate.

Pascal
procedure NotifyStatusChange;
C++
__fastcall NotifyStatusChange();

Call NotifyStatusChange to generate the OnStartSession event for any new sessions that have been created since the last call and to generate the OnEndSession event for any sessions that terminated since the last call. For any terminated sessions, NotifyStatusChange frees the memory allocated to the session after the OnEndSession event handler exits. 

NotifyStatusChange is called automatically every time the WebSnap application initializes a new Web module. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!