RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSessionsService.OnStartSession Event

Occurs when the sessions service detects that a new session has started.

Pascal
property OnStartSession: TStartSessionEvent;
C++
__property TStartSessionEvent OnStartSession;

Write an OnStartSession event handler to take specific action when a session starts. For example, you can use this event to customize the time-out period for new sessions or initialize them by adding name/value pairs. 

 

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