Rate this Article:
You must be signed in to rate again
Article Feedback Print View
Alternate Languages: N/A

Case Study: Using a Web Interface as an Access Gateway Advance Edition Resource Home Page Returns an Error at Logoff

Document ID: CTX115205   /   Created On: Jan 3, 2008   /   Updated On: May 6, 2008
Average Rating: not yet rated

Problem Definition

The Citrix Web Interface 4.2 and later has the capability to be integrated with Access Gateway Advance Edition for application publishing. However, if the Access Gateway Advanced Edition contains the Web Interface Web resource as the home page, you may see the following error message when clicking on the logoff button of Web Interface:

“Access Gateway Error

You did not log in or your session has ended. Please log in.”

Environment

Both software products are installed on separate a Windows 2003 server with service pack 2

    • Web Interface 4.2, 4.5 and 4.6

    • Access Gateway Advance Edition 4.5 with and without hotfix rollup pack 1

Troubleshooting Methodology

Determine which application type in Access Gateway Advanced Edition is the resource running under. If the resource is web proxy active it will then be guided by the application type set for it. For Web Interface it is usually the following application type named Citrix Web Interface 4.2 or later.

Screen Shot Showing the Application Type

Review the database table where the application type resides. This can provide additional information about the application type requirements.

Caution: Backup the database before attempting any changes.

Screen Shot of the Access Gateway Advanced Edition Database

Examine the CookieNames that the webproxy allows to pass through, because the Web Interface depends on cookies for much of its functionality. To make sure that all allowed cookies were being passed through in the Access Gateway Advanced Edition for Web Interface, a trace (using fiddler or ethereal) was performed on a non Access Gateway Advanced Edition Web Interface site. The following screen shot shows a snippet of the response data captured.

Trace Taken from a Non Access Gateway Advanced Edition Web Interface Site

The trace output above shows the cookie information that the Access Gateway Advanced Edition receives before using the ones listed in the application type. If you compare the trace to the ones included in the Access Gateway Advanced Edition database, WINGSession is missing because WIUser and WINGDevice were already included.

Resolution

The missing WINGSession cookie on the list for the Web Interface application type resolves the above error message, and now you should see the following message:

Caution: Backup the database before attempting any changes.

Adding the WINGSession cookie resolves the issue because Access Gateway Advanced Edition uses that information to know the state of the Web Interface and this in turn runs the correct logout page.

Cookie: WIUser=; WINGSession=icaIsPassThrough=3&NFuse_LogonType=AGEPassthrough&CitrixAGELoggedOut=On&icaScreenResolution=1276x923; WINGDevice=; ASPSESSIONIDAQBSRCQS=GNCPIPFDDPKAHKNPBCEDFHBD; MASTER_SESSION_ID=184b4e1e-6c7d-4f64-8d4b-b0dfc0a863ab; MASTER_CTX_


This document applies to:

Search
Knowledge Center
XenApp
XenApp Plugins (Clients)
XenServer
XenDesktop
NetScaler Application Delivery
Access Gateway
EdgeSight
Provisioning Server
WANScaler
Password Manager
Does it work with Citrix? Verify it - introducing the new Citrix Ready Community Verified