Internet Direct (Indy) Version 9.0.1 Beta
TIdHTTPResponseInfo.CloseSession
Closes an HTTP session and removes the session cookie.

procedure CloseSession;
Description
CloseSession is a procedure that closes a session in the session list for an HTTP server. CloseSession locates the session Cookie with the name specified in GSessionIDCookie, and removes the value from the Cookies collection. CloseSession also frees and release the Session maintained in the object instance.

CloseSession can be used to insure that an HTTP Server closes the session even when the session list is maintained.