Login script starts everytime I clik on a published application

Posted on 2006-10-27
Medium Priority
Last Modified: 2010-08-05
Hi Guys,

I`m wondering if theres a way to prevent the loginscript everytime I click on an application? I would like to set it only when we start the 1st citrix application or when we start the ICA client.

Question by:DeNzMoR
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Author Comment

ID: 17818705
the logonscript doesnt start at all time, but maybe theres somewhere I need to increase a timed out value?
LVL 19

Expert Comment

ID: 17820222
Are you using Seamless connections?  Try that out and see if you are launching a second session or piggybacking the first.  The server should be able to launch subsequent sessions from the first if your options are set right.  Experiment with a test user and a login script with a pause at the end so you can really see if it is launching the second and additional times.  
I think the option you want it called "session sharing".  
LVL 15

Accepted Solution

nprignano earned 1500 total points
ID: 17823448
BLipman is right about session sharing - this is when you have a app running on a given server and you launch the scond, the new app uses the same session as the first, so the logon script does not run again.  Read this to set it up and/or troubleshoot it if you are already using it:     http://www.brianmadden.com/content/content.asp?ID=450

However, the logon script will run for each new connection to a server, so if you have certain apps that run different servers, first connections to a server will still always draw the logon script.

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 17850305
thanks guys for the reply

I`m using the seamless session, but I will try the session sharing.

Author Comment

ID: 17850923
For instance, I have 2 servers with load balancing.... For example, if I open Word, its going to open an ica session on citrix_1 and if I wait 10 min, the loadbalancing might redirect my 2nd application on the citrix2. Is there a way to force that the same user as to be connected on the same server.

For example, If I open an application on citrix_1, I want to stay on citrix_1 till I log out.

LVL 15

Expert Comment

ID: 17874674
If session sharing is working, you will continue to launch all apps published to that same server on the same server - load balancing will only apply to connections to new servers.  If you happen to be running on two servers, when you launch an app published to both servers, load balancing metrics will determine which server the app will run on.

Here is an example:
AppA published to server0
AppB published to server1
AppC published to server0 and server2
AppD published to server1 and server2
AppE published to server0, server1 and server2

You log on and launch AppA and AppB - logon/connection process runs for both apps.  You now have active connections to server0 and server1, but not server2.

You next launch AppC, and it automatically launches onto server0 as you have a connection to that server already - load balancing metrics do not apply.

You next launch AppD, same scenario as AppC, the app automatically launches onto server1 and load balancing does not apply.  At this point, you still have connections to server0 and server1.

Now you launch AppE, this time, load balancing metrics determine which server the app will launch on, but will only launch to either server0 or server1, not server2 as you are not connected to that server.

When you break it down, this makes foresight into the design of your Citrix farm even more important - even with load balancing in place, you still have the potential to have one or more servers in you farm overloaded, while other servers are practically untouched, depending on the design of your system (where you publish your apps).  Many admins will choose to desgin their network with only one app published to a server (many servers in the farm) or every app to every server (fewer servers in the farm) to avoid this issue from occurring.

Good luck.



Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenDesktop 7.6 Citrix Policies Audio
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question