20 November 2014

AppSense - Save Cookies in IE10/IE11 with WebCacheV01.dat

Hi,

after my latest Internet Explorer Upgrade on a Citrix XenApp 6.5 Farm on Windows 2008 R2 we discovered a problem with the persistence of the cookies. We need to persist the cookies for one of the applications so we are redirecting the cookies folder to a network share which worked great until our upgrade to Internet Explorer 11. The problem is that from IE 10 upwards, you have a webcachev01.dat file where some cookie settings are saved additionally under %LocalAppdata%\Microsoft\Windows\WebCache. The file is locked during the whole Citrix session by a scheduled task which runs on logon, so you couldn't copy it easily on logoff.
After some searching on the web (Thanks to: http://vthoughtsofit.blogspot.co.at/2014/04/internet-explorer-10-webcache-file.html) I have found the solution for the problem.

You have to do the following:
On Logoff:
  • You have to stop the scheduled task with a custom PowerShell script
  • Then mirror the folder to a network share.
On Logon:
  • You have to stop the scheduled task with a custom powershell script
  • Mirror the folder back from the network share.
  • Start the scheduled task again with a PowerShell script.
Here is the link to the AppSense configuration file: http://1drv.ms/11FNprc


Grettings

michael.obernberger