why Internet Explorer is different than other browsers in jsp?
Joined: Nov 22, 2009
Hi experts , I am having small application which consists of login page , action page and log out page. if login correct it shows the name of user in action page , then if user click logout button he goes directly to logout page. The thing is I use session with new login and invalidate this session once user click logout Button. okey now if I have following scenario :
user log in at index page , go to action page , his name appears there , clicks logout button, end session(invalidate session) , redirects user to index page for another new login
and I use this scenario in Internet Explore whatever version is , I got the previous name (old name) for new second login (and that is should not be )within same application why is that . it needs me to close the application after logout and open it again for new login to show the new name in the action page.
if I use this scenario in FireFox or google chroom , no need to close application and open it in new window , once user is redirected again to index page he can login and new name(his name) will appear in action page( that is the correct way)
alsoumahi alBatal wrote:chroom and mozilla works fine , why the problem only with IE. I really hate it.
This the first time you tried to do something complex in assorted browsers? IE has never followed the "standard", Microsoft just does what it wants. There is a chance that IE 9 may actually be mostly standards compliant. Sadly, some projects still have to "support" IE 6, which has been causing developers to pull out their hair for ages.
And as others have said, your code is too ugly to look at carefully. I didn't even try to read it.