Follow

Internet Explorer ( v. 10 and 11 ) cookies and history do not persist from one user session to another

Added to product since then. Deprecated this article.

 

Product: ProfileUnity-FlexApp

Product Version: 5.5 and up

Expires on: 365 days from publish date

Updated: June 19, 2014

 

Problem:


Internet Explorer ( v. 10 and 11 ) cookies and history do not persist from one user session to another


Symptoms:

It was noted Microsoft changed the behavior around  handling of history and cookies after IE 9,  where the browsers now use a webcache file/DB.  This file has issues as it remains locked even after browser close.  As a result we’ve found this file to be locked at system exit and not available for portability.

 


The issue here is that webCache file is locked by the system.

This is a known Windows issue and the suggested solution is a workaround to that problem.

The mentioned file is located in the following directory.

C:\Users\[username]\AppData\Local\Microsoft\windows\WebCache

 


Possible Resolution(s):

 

There are two known workarounds to the issue.

 

--- FIRST ---

It is possible to resolve this issue by using Folder Redirection for Local Application Data .  This can be to a UNC, a VHD drive or to a mapped drive.

For more information:

  • Redirection to a VHD drive
  • Redirection to a mapped drive (steps 1 through 3)

https://liquidwarelabs.zendesk.com/entries/47767096-How-to-migrate-users-from-Folder-Redirection-UNC-path-to-a-mounted-drive-

 

 

--- SECOND ---

 

If it is not possible to redirect application data because of some environmental requirements the following method will help solving the problem.

 

  1. Create a Application Launcher rule (this step is required to fix history)

 

glen.png

 

 

2. Add/change the  ruleset for Internet Explorer (this step is needed for both the cookies and the history) 

Please remove the following entries from Registry Ruleset

a.      Exclude Tree HKCU Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0

b.      Exclude Tree HKCU Software\Microsoft\Windows\CurrentVersion\Internet Settings\CACHE

Please make sure the File System ruleset looks like the below example. 

 webCache.png

3. Create a user defined scrip rules to run a command line scrip (pre-logoff)  (this step is required to fix cookies)

 

  • Copy/paste - taskkill.exe /F /im iexplore.exe

 

  • Copy/paste - taskkill.exe /F /im taskhost.exe

 

  • Copy/paste - taskkill.exe /F /im dllhost.exe

 

  • Copy/paste - taskkill.exe /F /FI "USERNAME eq SYSTEM" /IM dllhost.exe

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.