Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How to set session im web api call to my MVC5 Pro Login Page
Jayraj Goswami
Feb 8 2016 1:49 AM
546
Reply
public ActionResult Login(MST_Users login)
{
string UserName = login.UserName;
string Password = login.Password;
var client = new HttpClient();
var response = client.PostAsJsonAsync("http://localhost:1724/api/LoginAPI", login).Result;
Session["USERID"]=?;
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
printing in two printers without printer selection dialog.
how to control a windows application using another applicati