Results 1 to 5 of 5
Thread: Logout problem
- 01-03-2008, 06:36 AM #1
Member
- Join Date
- Dec 2007
- Posts
- 28
- Rep Power
- 0
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
- 01-05-2008, 08:43 AM #2
that was not logout code .. it is just a hyperlink code, post your login.jsp page fragments i can help you with that..
dont worry newbie, we got you covered.
- 01-07-2008, 10:43 AM #3
Member
- Join Date
- Dec 2007
- Posts
- 28
- Rep Power
- 0
thanks
i have done it with session.invalidate by creating logout.jsp separately
- 01-07-2008, 10:49 AM #4
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"dont worry newbie, we got you covered.
- 01-09-2008, 07:54 AM #5
Member
- Join Date
- Dec 2007
- Posts
- 28
- Rep Power
- 0
Similar Threads
-
[SOLVED] logout user when session expires
By sanjeevtarar in forum Java ServletReplies: 12Last Post: 02-23-2010, 12:53 PM -
Need to return to login page once logout
By peiceonly in forum Suggestions & FeedbackReplies: 2Last Post: 03-31-2009, 07:50 PM -
logout using java script
By pankajagar2001 in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 01-03-2008, 06:37 AM -
Sessions and logout question
By orchid in forum Web FrameworksReplies: 1Last Post: 05-18-2007, 06:24 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks