ASP.Net MVC / ASP.Net WebForms / JavaScript Getting Session value in Javascript & Asp.Net - 29.09.21 - ErcanOPAK <script> var mySessionValue = '<%= Session["SessionName"].ToString() %>'; alert(mySessionValue); </script> Related posts:How to get value from resx file in C#How to auto-scroll or manually to end of div when data is addedHow to use client-side function on checkbox or any asp.net componentHow to Solve The 'Object reference not set to an instance of an object' error in Batch Edit mode for... Post Views: 12