In index.jsp I have a logo which when clicked goes to the login functionlaity in Admin.java.I have the login authentication in Admin.java.After the work is done the same logo in index.jsp is used to log out. The message does come you have logged out.
But once again when some other user tries to login it takes the username and password same as the previous user.
Example if user1 has logged in with username-user1 and password-user1 and after log out. When another user2 tries to login and enters username-user2 and password-user2 the system takes the arguments as username-user1 and password=user1.
How do I manage my sessions? I have not used cookies. I tried to check the codes in internet to help me out. But my problem is not explained best by any example.
Regards, Archana.