How to end a citrix session using keyboard shortcuts
I want to end a citrix session through keyboard shortcut. On client side when i use ctrl -F4 its working fine, but on server side , i am unable to end my session.
Could someone help me out here
Why do you want to end the citrix session with keyboard shorcuts ?
As you know the session is ended with ctrx_logoff api.
In order to send ctrl+f4 you can use ctrx_key("F4_KEY", MODIF_CONTROL, "", CTRX_LAST);
However you must check first by running Citrix Receiver if you can use ctrl+f4 shortcut.
You also need to check ica file if the hotkey is disabled, for more information look at https://support.citrix.com/article/CTX140219
i tried using ctrx_key("F4_KEY", MODIF_CONTROL, "", CTRX_LAST);
only first run was successful and later on sessions are not getting closed on server.
is this one correct?