Citrix

Archive: Error: Cookies Required

  • CTX117597
  • Created On  Jul 02, 2008
  • Updated On  Mar 10, 2012
  • 20 found this helpful
  • Article
  • Topic : Other
This article is no longer maintained, its content refers to a discontinued product and may be out of date. Refer to the Discontinued Product Lifecycle or Active Citrix Product pages for more information on support schedules.

Symptoms

When Web Interface 5.x is used with Clientless VPN devices such as the Access Gateway Enterprise, certain Cisco, Juniper, or Symantec Gateway devices, users receive a warning stating that cookies are required. The browser is configured to accept cookies.

Cause

This occurs because of a rewrite issue with the default cookie name. Each Web Interface site has a unique set of directories that can be modified without affecting other Web Interface sites on the same Web server.

Resolution

The following steps must be performed for each Web Interface site being integrated with the Gateway.

For Web Interface 5.1.x, 5.2.x, and 5.3.x:

  1. On the Web Interface server, locate the cookies.js file. By default, this file is located under,
    C:\Inetpub\wwwroot\Citrix\<Web Interface site name>\app_data\clientscripts
  2. Open the file with a text editor.
  3. Locate the following line and delete it, it should be around line 82.
    cookie = cookie + "; path=<%=wiContext.getWebAbstraction().getAbsoluteRequestDirectory()%>";
  4. After making the change, log back on to Web Interface through the Symantec Gateway and you should be able log on without the error.

For Web Interface 5.0.x:

  1. On the Web Interface server, locate the cookies.js file. By default, this file is located under
    C:\Inetpub\wwwroot\Citrix\<Web Interface site name>\app_data\clientscripts
  2. Open the file with a text editor.
  3. Locate the following line:
    document.cookie = name + "=" + value + "; path=<%=wiContext.getWebAbstraction().getAbsoluteRequestDirectory()%>";
  4. Change the line to the following and save the file:
    document.cookie = name + "=" + value;
  5. After making the change, log back on to Web Interface through the Symantec Gateway and you should be able log on without the error.

Note: This change to the cookie path does not impact users unless they are accessing Web Interface from a Symbian device.

More Information

This article likely applies to other clientless VPN solutions as well.


Share your comments or find out more about this topic

Citrix Forums

Languages

N/A

| Terms of Use | Privacy | Governance