Session value set and get in to java script ASP.NET

Set session value in to your java script any event:

 <%Session["aux1_7"]="7";%>;  


Get value in to your java script any event:


  var someSession = '<%= Session["aux1_7"] %>';  
         if (someSession) {  
           // Do something  
         }  

Popular posts from this blog

WPF Crystal Report Viewer Using SAP

mvc razor textboxfor change event change another textboxfor value

ASP.NET MVC razor SAP Crystal report