Advertisement

07.10.2008 at 11:51AM PDT, ID: 23554998
[x]
Attachment Details

Getting kicked out of Citrix sessions when user connects

Asked by jstremblay in Citrix, Remote Desktop/Terminal Services

Tags: , ,

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!Start Free Trial
1:
2:
3:
4:
5:
6:
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();
[+][-]07.10.2008 at 12:17PM PDT, ID: 21976536

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 12:19PM PDT, ID: 21976554

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 12:21PM PDT, ID: 21976577

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 12:33PM PDT, ID: 21976658

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 04:49PM PDT, ID: 21978413

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2008 at 06:46AM PDT, ID: 21982322

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Citrix, Remote Desktop/Terminal Services
Tags: Citrix, Presentation Server, 4.5
Sign Up Now!
Solution Provided By: jstremblay
Participating Experts: 2
Solution Grade: B
 
 
[+][-]07.11.2008 at 06:51AM PDT, ID: 21982363

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2008 at 02:29PM PDT, ID: 21986210

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.14.2008 at 09:24PM PDT, ID: 22004126

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628