session values and compatibility?
I have compatibility issues with Internet Explorer 8 in running an application. And those compatibility issues also affect the session values in C#.
Is there any other way to make the session values unaffected by compatibility issues?
E. g.: I am storing a usersid in the session while logging in, and according to the session value it loads the privilege in a listbox.
THIS IS THE SCENARIO:
I am logging in to my application as admin; the privileges allocated for admin gets loaded. After that I'm logging out
I was trying logging in as different user it loads the users privileges in the listbox.
This is where the problem arises. When logging in as admin again, it loads the privileges of the user previously logged in and not the admin's privileges in the listbox. And on checki开发者_高级运维ng the session value it was having the previous user's user id.
Can anyone guide me in getting out of this?
The same issue seems to work well with IE6. But the problem arises with IE8.
This doesn't sound like a browser problem - the session ID is kept in a browser cookie, and the session values on the server. Reading and writing of cookies is a basic browser function and has not changed between IE6 and IE8. I'd suggest looking at your code, not the browser.
i just changed the internet options to clear off the cookies every time i visit a webpage.it is working fine now
精彩评论