I'm using a web page that embed the citrix ica web client activeX to connect to my published application on Citrix Presentation Server 4.5.
The first time I connect (or if I'm the first user to connect, everything looks fine.
But as soon as a second user connect (from a different PC):
1- The user which is already connected gets kicked out of the session
2- The second user connects successfully but connects to the session of the first user and can see the application as it was left by the first user when it got kicked out.
3- The application stated as "InitiaProgram also launch for the second user in such way that there is now 2 instances of the application running in the session: The instance from the first user and the instance launched for the second user.
I can repeat this on and on and get as many instances of the application running in the unique session.
Obviously, this is not what I want. I want users to have their own session and not kicking out one each other.
See attached code snippet to know how I connect to the server.
Some interesting info about how the connection is made: Since the code is in a web page in a protected environment, everyone using it actually connects with the same credentials. So what we need (and have done before): more than one people connecting with the same user name; Citrix opening a separate session for each of them.
I looked at many options regarding session sharing and session reconnection but couldn't find what I was looking for.
Anyone can help me with this?
Thank you very much!
pCitrix.Address = "@[CITRIX.ADDRESS]@";
pCitrix.SetProp("InitialProgram","#Remote Support Tool");