Meaningless Drivel is fun!
The moose likes Servlets and the fly likes problems in logout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "problems in logout" Watch "problems in logout" New topic

problems in logout

Arvind Sampath
Ranch Hand

Joined: May 11, 2005
Posts: 144
I face this strange problem while developing the logout screen for our client's appln. We have a SSO based siteminder that'll do the authentication for our application. Whenr the user clicks on the logout button, we are killing the session by invoking the invalidate() method on the session object and then the response is redirected to the logout page. We are not closing the page. If the user requests the some page in our application now, we expect the siteminder to prompt for login id/password , which is not happening. Am I supposed to do something extra after invalidating the session. I guess i need to kill some info that the siteminder has stored regarding the user session. Can someone throw light on this ?

Any help will be greatly appreciated.

Sunil Pradhan

Joined: Nov 30, 2005
Posts: 15
Hi arvind,

When the user request for the page ,you can check whether the session is alive,and you can redirect the request to the login page..(If I understood your query ?)

Arvind Sampath
Ranch Hand

Joined: May 11, 2005
Posts: 144
Yeah sunil thats very much possible. But i dont want to explicitly call the siteminder (May be I'll have it as the last option ). Our siteminder is functioning well. If a new browser is opened and a request is made to some page in the application, the siteminder prompts for the login id/password. It fails to do so when the user logs out and requests for some page then.
I agree. Here's the link:
subject: problems in logout
It's not a secret anymore!