Support Request: Preserve cookies and localstorage

Reproduction

Windows 7 - skcfg - Cut power

Description

We have an issue that we think appeared after implementing SiteKiosk 9 (was 8).
When computer looses power, it seems to clear the cookies and/or browser localstorage. Problem does not seem consistent with "authorized" reboots/shutdowns or maintenance scheduled boots.
It is critical for our app functionality that the cookies remain as it holds the login for our webapp. Also tried both Full Screen skin (our default from v8) and Metro (recommended by our supplier).

I've tried to disable any cache/cookie/temporary files clearing setting, but no luck. We need SiteKiosk to leave any cookie/cache/localstorage/temporary files completely alone as we are already managing it in the code/proxy.
Log says zero cookies deleted, but our app logging indicate both localstorage and cookies are removed.

Log snippet and skcfg attached in zip

Answer: (13)

Re: Preserve cookies and localstorage 6/24/2016 12:28 PM
Hello,

With the Internet Explorer based skins SiteKiosk does use the IE Webbrowser control of the installed Internet Explorer and therefore also the same cache like the IE.

As you deactivated all options to delete the temporary Internet Files and Cookies in SiteKiosk you may check the IE cache settings and what happens within the Internet Explorer when computer looses power.

Please note that the IE settings are user dependent and you should check them in the Windows user account you run SiteKiosk in.
With “Auto Start” mode SiteKiosk does use the restricted SiteKiosk user account. Please find here the information about how getting access:
https://www.provisio.com/en-GB/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=5826

Regards,
Michael Olbrich
Re: Preserve cookies and localstorage 6/24/2016 12:49 PM
Thanks for the quick reply Michael.

Further testing shows:
reboot via SiteKiosk dialog = No problem
reboot via Teamviewer "reboot" control = No problem
Powerloss = Login cookies and localstorage goes away

Could be IE related i guess:
https://connect.microsoft.com/IE/feedback/details/864147/ie-9-11-amnesia-cookies-lost-when-windows-or-ie-crashes

The SK log entries looked a bit scary, but I agree it wouldn't make sense for SK to differ behaviour on this. I'll try and run a full update for IE11
Re: Preserve cookies and localstorage 6/24/2016 4:27 PM
We seem to have narrowed down the problem, does indeed seem to be IE/Windows related.
Re: Preserve cookies and localstorage 6/24/2016 4:32 PM
Thank you for your feedback.
Re: Preserve cookies and localstorage 6/27/2016 5:57 PM
Assumption:
Problem is caused by a bug in IE11, that can result in the localStorage object to be cleared (in best cases) or errornous/undefined upon powerloss / BSOD
Dev Console reports that "localStorage.getItem" results in a SCRIPT2: File not found

Status test 1:
After uninstalling IE11, it defaulted to IE8 and now SiteKiosk doesn't work. Also I cannot reinstall IE11 (unspecified error) and I cannot reinstall or even uninstall SiteKiosk, as uninstall apparently requires IE10 og IE11 same as install.
This test machine is currently dead and awaiting new image

Status test 2:
I've tried to switch to the chrome, but this also losses the login cookies and localStorage (and does so persistantly on every SiteKiosk restart, even reload of config).
We have another bug in Chrome that some prevent playing an mp3 file in the webapp, but there is still a few thing untried here.


Any insights to the IE11 problem is welcome, but the primary problem at hand is how do I get the Chorme skin to save the login?
Pages (3): [1] 2 3 Next »
My Account
Login
Language (Tickets):