I have ASP.NET application (not MVC), with WEPAPI controllers.
we are using these controllers to share data between asp pages using ajax request.
when i logged into the system, i store the username in a session, but while i trying to check the value of this session in the controller, its value i null regardless if user is logged in or not.
HttpContext.Current.Session["Username"] = "admin";
How can i use the same session between controller and asp.net page?