Logout/sign out using jquery/javascript
How to Logout/ sign out Using jquery/javascript
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Joginder BangerPosted Dec 11, 2014, 1:33 AM
$('#logout').click(function () { $.ajax({ url: '/logout', success: function () { document.location = '/logged_out'; }, error: function () { alert('Logout failed'); } }); return false; });
Make a logout page, and make a function signout() and call them in pageload.
public page_load()
{
signout();
}
public void signout()
{
FormsAuthentication.SignOut()
or
do stuff for signout.
}
Joginder BangerPosted Dec 11, 2014, 4:31 AM
or if you are not used the signout then used the session["sessionname"].remove() or kill or abadon()
try
vimalendu kuamarPosted Dec 11, 2014, 2:09 AM
I want with kendu ui
so pls help me
Again take it
Project + Wcf Library +Wcf generate tool
Joginder BangerPosted Dec 11, 2014, 1:49 AM
vimalendu kuamarPosted Dec 11, 2014, 1:47 AM