Response.IsClientConnected property

True if the client is still waiting for a response, or false if not.

Usage

ccon= Response.IsClientConnected

Details

If a user has clicked the Stop button on their toolbar, or otherwise cancelled the page, this provides a way of halting processing, rather than continuing.