Nilesh Patil

Nilesh Patil

  • NA
  • 3k
  • 114.8k

How to read session value in Controller in MVC

Feb 23 2018 4:50 AM
Hi All,
 
I am set session in in view 
 
e.g  sessionStorage.setItem("doc_IsModify", true);
 
I want to get this value in controller 
 
I am try this 
 
var value1 = Session["doc_IsModify"]; 
 
But its not working please give me best solution for this 

Answers (3)