You have a situation where you would like not to see the message You have been logged off. Se you again soon. And instead of pressing the Return to Log On you would like the page to redirec to the logon page.
Copy the existing file c:\inetpub\wwwroot\Citrix\XenApp\auth\loggedout.aspx in order to have a backup of the original file.
Open file loggedout.aspx in Notepad.
Find the entry // A new Session will have been created for this page request as it has already been and insert the text Response.Redirect(“login.aspx?CTX_FromLoggedoutPage=1”); just before the %> as shown here:
You might want to reset IIS to make sure the takes full effect.