function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Brijesh KumarBrijesh Kumar 

expire session from visualforce page

hi
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>
</apex:page>
 
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
Sam.arjSam.arj
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!