RAD Studio VCL Reference
|
Obtains the interface for an active Web session, given its Session ID.
function ConnectActive(AID: TSessionID): IWebSession;
__fastcall IWebSession ConnectActive(TSessionID AID);
Call ConnectActive to access the session that has a specified Session ID. Unlike the Connect method, ConnectActive never returns a session that has expired or been terminated.
AID is the session ID of the session to locate.
ConnectActive returns the IWebSession interface for the located session. This interface has a single method, Terminate, which lets you terminate the session. If the sessions service does not have an active session with the specified session ID, ConnectActive returns nil (Delphi) or NULL (C++).
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|