-
Logout problem
:confused: I hav a problem in logging out.When i do so it redirects me to the login page but the problem is that it shows username as well as password on the login page. "I dont want to reflect password ".My code for logout is as follows:
<strong><a
href="http://localhost:8080/Core/jsp/login.jsp?logout="
true"style="color: rgb(0,0,255)"><small><font
face="Arial">Logout</font>
</small>
</a>
</strong>
Thanks
anki1234
-
that was not logout code .. it is just a hyperlink code, post your login.jsp page fragments i can help you with that..
-
thanks
i have done it with session.invalidate by creating logout.jsp separately
-
No problem .. plus to that the link in above code gives
http://localhost:8080/Core/jsp/login.jsp?logout=
instead of
http://localhost:8080/Core/jsp/login.jsp?logout="true"
-