Invalidating session using sessionbinding listener milwaukee wi speed dating

29 Apr

You need tomake a request dispatch to the target war file containing your portlet and invalidate the session in a special servlet, pretty much like : in the code located in the portal (your servlet filter) : !

Fortunately for us servlet developers, it's not always necessary for a servlet to manage its own sessions using the techniques we have just discussed.The level of support, however, depends on the server.The minimal implementation provided by the servlet classes in JSDK 2.0 manages sessions through the use of persistent cookies.The problem is that I have a log in page, instanciate a session, set variables to my session and when I logout I use the session.invalidate(); method to keep security of my pages I use an if statement like String loged=String.value Of(Value("logedin")); if(loged.equals("false")|loged.equals(null)|loged.equals("")|loged.equals("null")){%Metaquestion: I'm curious about something that I've seen quite often in the various forums: Oftentimes and 'answer' will be in the form of "Look at the API" or even "RTFM".This sort of answer confuses me, because, ultimately, it seems, just about any question could be answered by pouring over the API and trying out various things.