Quote:
Yes, you will need to create a controller action, if you're using MVC or a generic handler if you're using WebForms. This handler/action will need to call the FormsAuthentication.SignOut method. In jQuery you will need to make an ajax call to this action/handler.
$.post('/url/of/signout/action', null, function(data) {
});
For more info :
How to logout with jquery or just javascript using form authentication?[
^]
I hope this will help to you.
[Edit member="Tadit"]
Link text added to reflect the article title.
[/Edit]