TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dheeraj Sharma
NA
98
28.8k
how to set status = 0 when logout
Jan 2 2018 6:10 AM
i want to change the status = 0 in Login table when user logout using MVC,
do anyone have any idea about this...
i tried this way,
public ActionResult LogOut(Login log)
{
FormsAuthentication.SignOut();
log.Status = 0;
Session.Abandon();
Session.Clear();
Response.Cookies.Clear();
Session.RemoveAll();
return RedirectToAction("Login", "Login");
}
but, not working... thanks in advance..
Reply
Answers (
1
)
how to show seating layout in mvc view by using api?
routing concept will u explain clearly please