Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Any way to listen for datasessionid change
Versions des environnements
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Virtual environment:
VMWare
Hi all,
This came out of my former thread re problems with the datasession being incorrect when running a procedure from a form. To reiterate, I tracked down that when some of the procedures (contained in a .prg) are being run, intermittently they are no longer in the data session that they are supposed to be (because the procedure is called from a method of a form). I have put in a workaround that a datasession is passed to the procedure and if it does not match SET("Datasession") then I invoke SET DATASESSION to make it right (it is a workaround only at this point).
Because this seems to happen exclusively on their network as one of their users, I cannot just set a breakpoint for the datasession changing (can I?).
Is there a way to incorporate some sort of "listener" to the form such that if any process changes the datasession while in the form that I can log who dun it? Can I attach a datasessionid_assign method to the form (have not tried).
Thanks,
Albert Gostick
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement