File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 60045
    
  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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logout
 
Similar Threads
Releasing HTTP session state
jsp
Want jsp to telnet into a computer
Closing original window when logging out
Failed to display login link once user has logged out