Hi Mukesh,
As Alexey has mentioned, the "FormsAuthentication" class's "SignOut" method
can help make the current Forms Authenticated user logged out.
#FormsAuthentication.SignOut Method
http://msdn2.microsoft.com/en-us/lib...ormsauthentica
tion.signout.aspx
However, I'm wondering when and where would you call this method in your
web application? Generally, the preferred approach is put a button on page
to let user click it to logout and the FormsAuthentication.SignOut method
should be called during a page's request processing cycle (such as in a
postback processing cycle). After you call this method, you can use
Response.Redirect to forward the user to a default page so as to make the
logout status obvious.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.