session in javascript c# code example
Example 1: how to use session using javascript
BY LOVE
sessionStorage.setItem("SessionName", "SessionValue");
Example 2: set a value in session using javascript
<script type="text/javascript">
function GetUserName()
{
var username = '<%= Session["UserName"] %>';
alert(username );
}
</script>