aspose file tools*
The moose likes JSP and the fly likes Logout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

Logout

vicneswaran boi
Greenhorn

Joined: Sep 06, 2004
Posts: 13
Thanks for your reply .... but my logout still does not logout on the same page .... when clicked the logout should redirect me to the login page but in my case the login page pops out....How is this possible and how do i solve it please ...Thks


<HTML>
<HEAD>
</HEAD>

<BODY >
<%

session.invalidate();
pageContext.forward("Login.jsp");


%>

</BODY>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61010
    
  65

Please do not start new topics for the same question. Any further discussion of this topic should occur here.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Logout