0
Answer

how to manage user session?

khanhkv2002

khanhkv2002

20y
1.7k
1
dear all I have a webservice which contains 2 methods: [WebMethod(EnableSession=true)] public void Login(string usercode, string password) { Session["usercode"] = usercode; Session["password"] = password; } [WebMethod(EnableSession=true)] public string CheckUserInfo() { return Session["usercode"] ; } Why does method CheckUserInfo() return NULL? FYI: I call Login() firstly from Windows App, CheckUserInfo() only aims to get info of user who logined already. Thank you too much, Best Regards, Khanh