The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
May 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


bug cache in JRUN

Posted by Nanna Ma on June 15, 2001 at 5:31 AM

Hi, I use JRUN 3.0 for driving my webbapplication. In my application you can logout. I have problem with the "logout".
I have a value of user as a identier for a user. Without this value you cannot go anywhere in the application. in the class Logout I just set Null to the value of user. But always the first time after I started my computer, and I drive the application, the Logout works well. But after that it doesn't work at all. It seems that there are some bug cache in the JRUN.

I wish if you can gave my some advice.



public class Logout extends UserSession
public Object execute() throws Exception

Map session = getSession();
User usr= (User)session.remove("user");
usr = null;

return "byebye.html";


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us