Login controls issue
I'm having a problem with the login controls that were used to create the basic website for beginners asp.net in C#. I've created multiple pages with role profile security, Each displaying the user name at the bottom of the page as in the example website. My issue is that different pages are showing different users. For example, i log in as user1 on page1, log out as user1 on page 2 and then login in as user 2 on page 2. Page 2 displays user2 as being the logged in user, but when i navigate to back 1, it again shows user1 logged in, along with user1's security right. I'm assuming it has something to do with the cache. Is there a way to make sure that pages recognize that the user has logged out?
|