+ Start a Discussion
Brijesh KumarBrijesh Kumar 

expire session from visualforce page

how can we expire session from visualforce page.
i used
 <apex:page >
  <apex:outputLink value="http://na5.salesforce.com/secur/logout.jsp">log-out</apex:outputLink>
when i click logout application of this window log-out but another window is not log-out.So i wants whenever click log-out session should be expire.
Please help me
Thanks & Regards
Brijesh Baser
Not sure if this is correct but you probably should set your variables to null when logout link is clicked.

If you need to log the user out of Sales Force completely you may forward the user to "/secur/logout.jsp".
Good luck!