Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9369

Session Invalidation not working

$
0
0


Hi experts ,

 

we have a requirement that on click of logoff in the portal , the use should be navigated to another jsp , where the session is invalidated so the user should not login from the same session again.

 

In our portal on click of logoff we are navigating the use to the other page , called LoggedOut.jsp whose jspdynpage component is ABC ,  and here when the page LoggedOut.jsp is loading im invalidating the session .

 

 

Now in the same browser when im entering my portal url https://xxxx:50001/irj/portal my logonmodule is called , and here in doProcessbeforeoutput() method we are handling navigation to different jsp pages and hence here im using the code

httpRequest.isRequestedSessionIdValid()

to check if the session is valid or invalid , im getting session as valid i.e boolean value True is returned by

 

httpRequest.isRequestedSessionIdValid() , as im invalidating the session in ABC component , here i should get boolean value false, but not happening.

and the httpsession id is same in both components.

 

please suggest a solution .

 

is httprequest and httpsession that we are getting from Iportalcomponentrequest and Iportalcomponent sessions componentSpecific ?

 

 

Regards

Govardan


Viewing all articles
Browse latest Browse all 9369

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>