Link to home
Start Free TrialLog in
Avatar of jstremblay
jstremblay

asked on

Getting kicked out of Citrix sessions when user connects

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("Username","@[CITRIX.USERNAME]@");
pCitrix.SetProp("Password","@[CITRIX.PASSWORD]@");
pCitrix.SetProp("Domain","@[CITRIX.HOST]@");
pCitrix.SetProp("InitialProgram","#Remote Support Tool");
pCitrix.Connect();

Open in new window

Avatar of AdamBNYC
AdamBNYC

Are you using different user accounts for each user, or are you trying to have multiple users trying to login using the same username and password?
There is a setting in tscc.msc to restrict each user to one session, you can turn that off. Hope that fixes it.
Sorry, I just read a bit further, You are experiencing smoothroaming. You cannot have multiple users logging in with the same credentials. It is against the Citrix EULA. Each user needs their own login.
Against the EULA? Can you show me where in the EULA it states this?  You are saying 2 administrators can't be logged into the same citrix farm at the same time with the same account?
Sorry, I thought I read that. I stand corrected
ASKER CERTIFIED SOLUTION
Avatar of jstremblay
jstremblay

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Glad you figured it out, Sorry about the misdirection on the EULA