Is there any way to assign session value using javascript
i can retrive the value from session but assigning is not working
var TempSession = \'<%
JS:-
In your code behind file:-
[WebMethod] public static string SetValue(string val) { HttpContext.Current.Session["Status"] = val; return HttpContext.Current.Session["Status"].ToString(); }