Skip to Content
0
Oct 26, 2010 at 07:18 PM

User closing browser without clicking logoff link in mastheader...

451 Views

Hi All,

When EP users clicks on logoff link in the mastheader, we are redirecting the url and in logoff() method I am deleting session/cookies etc.. till this point its fine... working perfectly.

If users clicks on IE close (browser X on upper left corner), its not deleting any cookies... other user opening the portal on same terminal will automatically see previous users portal. how to remove cookies/session when user closes browser without clicking logoff link on mastheader.

I check SDN for this... but everyone talking about logoff url... logoff url working fine for me... when user closes browser with out clicking logoff... that portal session must end.

I referred many sdn posts like

Logging off Portal - Cookies/Caching

How to make sure the cookie is destroyed?

but no solution found...

Once again I will explain my issue... IF USER CLICKS ON LOGOFF URL, ALL PORTAL SESSIONS/COOKIES ARE CLICKED(no issues with logoff link)... BUT IF USER CLICKS ON BROWSER CLOSE ("X" ON UPPER LEFT CORNER) NO PORTAL SESSION/COOKEIS ARE KILLED.

Thanks,

PradeeP