Last post Jul 13, 2016 04:57 PM by PatriceSc
Jul 12, 2016 11:06 PM|tp2006|LINK
The exact same code works as expected on dev server and clears the sessionstorage nicely but not on the prod server. Could there be any setting that I need to do in IIS or somewhere to clear the sessionstorage. Without the sessionstorage getting cleared
my app gives problems. It is really annoying as to why the exact same code works fine on dev server but not on the prod. Any pointers will be helpful.
Jul 12, 2016 11:51 PM|PatriceSc|LINK
If IE use F12 to check the emulation mode.
Jul 13, 2016 01:06 AM|mgebhard|LINK
is client side API and has really nothing to do with IIS. By chance is the sessionStorage logic in a separate file? Is the file referenced correctly?
Jul 13, 2016 04:28 PM|tp2006|LINK
Thanks for your time! The issue is I am trying to clear sessioStorage when user goes to homepage. It all works fine on the dev server as well as my local machine, but when I do a filesystem deploy to prod server, it looks like sessionStorage is not getting
cleared. I deploy to dev server by doing webdeploy where as prod server is using filesystem deploy. Based on this I feel there is nothing wrong with the code since it works fine in one environment but not the other. Please advise!
Jul 13, 2016 04:57 PM|PatriceSc|LINK
works because it worked on another machine (it's quite frequent to see errors caused by a different browser behavior, different data, some unseen configuration difference, a design flaw etc...). So once again for now :
- another option could be that this page doesn't use the exact same protocol, domain, port in which case it could have its own storage and so you would clear another storage
- it can be still some kind of configuration error causing the script to be not served or called at all etc... etc...
As soon as we'll know HOW it fails exactly, fixing the issue should be really easy.