Re: Session ID -- Again (How to implement single session login)
Posted in 1996
Chao Y. Din wrote: >... >Actually, the discussion is meaningless now, because I just found DBINFO is >available since ONLINE 6.0. >... What does DBINFO do for you here? According to my manuals, DBINFO gives you things like sqlerrd1, sqlerrd2 and DBSPACE, but how do you use it to find out your session ID? >... >Your approach does not work in our environment. Our clients are PCs runing >Powerbuilder. Since clients talk to server through I-NET, pid is always "-1". >... OK, I suspected that. If you have a bullet proof way to get the session ID that would work for all environments, please let me know. ---------------------------------------------------------------------- John H. Frantz Power-4gl: Extending Informix-4gl frantz@centrum.is http://www.strengur.is/~frantz/pow4gl.html