SelfDestruct

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWApplication > Methods >

SelfDestruct

SIGNATURE=IWApplication.TIWApplication.SelfDestruct@Cardinal

 

ETYPE=Method

 

Declaration:

Delphi:

public procedure SelfDestruct(const aSecs: Cardinal = 15);

C++:

void public: __fastcall SelfDestruct(const unsigned aSecs = 15);

 

Description: Terminates a session if no other request is received after a minimum interval. The exact point in time when the session will be effectively destroyed depends on the session timout thread which runs at 1 minute intervals. It can be possibly used in conjunction with IWForm's OnAsyncPageUploaded event