| Author |
How to remove managed bean from session
|
Muhammad Ijaz
Ranch Hand
Joined: Mar 03, 2009
Posts: 34
|
|
Hi,
I have developed a popup page Search.jsp (also its managedBean with session scope)with jsf1.2. this popup is opened from any parent jsp page. Now my requirement is, whenever search.jsp popup page is close then its managedBean should also be removed from the session.
Please help me......
|
IBM Certified WebSphere Commerce Application Developer
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14568
|
|
Managed beans are just ordinary J2EE javabeans which were created by JSF on demand. You can delete them just like any other J2EE javabean.
However, web browsers don't send messages to the server when windows are closed. The closest you can get to that it to put an AJAX request into a JavaScript that gets triggered off a client window close event, and even that won't work if the user has turned off JavaScript.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: How to remove managed bean from session
|
|
|