Someone please help out: I added this statement to my partialview login page
@HttpContext.Current.Session["userID"] = User.Identity.GetUserId().ToString();
and receive errors below:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1525: Invalid expression term '='
Source Error:
Line 66: #line default Line 67: #line hidden Line 68: EndContext("~/Views/Shared/_LoginPartial.cshtml", 73, 37, false); Line 69: Line 70: