Logout/sign out using jquery/javascript
How to Logout/ sign out Using jquery/javascript
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Joginder BangerRank #360 · 7K reputationPosted Dec 10, 2014, 8:33 PM EST
$('#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.
}
vimalendu kuamar121 reputationPosted Dec 10, 2014, 8:47 PM EST
Joginder BangerRank #360 · 7K reputationPosted Dec 10, 2014, 8:49 PM EST
vimalendu kuamar121 reputationPosted Dec 10, 2014, 9:09 PM EST
I want with kendu ui
so pls help me
Again take it
Project + Wcf Library +Wcf generate tool
Joginder BangerRank #360 · 7K reputationPosted Dec 10, 2014, 11:31 PM EST
or if you are not used the signout then used the session["sessionname"].remove() or kill or abadon()
try