0
thiago floriano created
Hi,
I'm having a strange problem.
In my application, I made login via ajax and, after successful login, I request a fresh copy of scripts (GetScripts) to check the permissions.
Chrome does it well, as alaways.
But in IE i only get updated permissions after refreshing the page.
Why does this happen?
2 Answer(s)
-
0
Hi,
I did not try it like that before. I always refresh all page after login. Is there any exception in the browser console?
-
0
After trying to solve it for 2 days, I had an insight and it saved me.
Internet Explorer was caching de GetScripts request.
Setting cache to FALSE solved the problem.
$.ajax({ url: '/AbpScripts/GetScripts', cache: false, });
Thanks!