Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session invalidate doesn't work with IE

Status
Not open for further replies.

Ladyj76

Programmer
May 16, 2009
1
Hi,

This is my environment:
- JDeveloper 10.1.3.4
- Web application Oracle ADF 10.1.3.4 and JSP
- AS Tomcat 5.5.27
- OS Windows XP
- Browser : Firefox 3.0.10, IE6 and IE7

My problem is related to session invalidate in Logout button:

....
FacesContext ctx = FacesContext.getCurrentInstance();
ExternalContext ectx = ctx.getExternalContext();
HttpSession session = (HttpSession)ectx.getSession(false);
session.invalidate();
....

If I use firefox I can see session disappear from Tomcat Web Application Manager, if I use IE6/7 sessions seem to stay alive.

Any idea?

Mariella
 
That shoud be independent of the client. I'd check the configuration for all browsers regarding cookies permissions.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top