<script> let mySession = '<%= Session["SessionName"].ToString() %>'; //use your session ... console.log(mySession); alert(mySession); </script>
<script> let mySession = '<%= Session["SessionName"].ToString() %>'; //use your session ... console.log(mySession); alert(mySession); </script>