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
VempallyVempally 

Logout Functionality

How to Achieve Logout functionality using VF and apex...
RamuRamu (Salesforce Developers) 
The below post might help

https://developer.salesforce.com/forums/ForumsMain?id=906F000000094YvIAI
Soumya BeheraSoumya Behera
Please use this line of code . It will help to achive your requirment.
<a href="/secur/logout.jsp" class="logout">Logout</a>