Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread OnServerConnect - SessionID
Wed, Aug 1 2012 6:06 AMPermanent Link

Peter Kamp

Hi,

I would like to store some information in the UserData in the TDBISAMEngine.OnServerConnect event. How can I retrieve the SessioID for the current connection?

I know there is a GetServerSessionInfo function, but for that I need the Session number. Can I get the session number somewhere?

Regards, Peter
Thu, Aug 2 2012 2:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Peter,

<< I would like to store some information in the UserData in the
TDBISAMEngine.OnServerConnect event. How can I retrieve the SessioID for the
current connection? >>

Unfortunately, you can't.  The OnServerConnect event is agnostic about which
session is being connected and doesn't surface that information.

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com


Image