Answers for "can we set session value in javascript"

3

how to get session value using javascript

sessionStorage.getItem("SessionName")
Posted by: Guest on July-02-2020
4

how to use session using javascript

BY LOVE
sessionStorage.setItem("SessionName", "SessionValue");
Posted by: Guest on July-02-2020
1

set a value in session using javascript

<script type="text/javascript">
    function GetUserName()
    {

        var username = '<%= Session["UserName"] %>';
        alert(username );
    }
</script>
Posted by: Guest on June-18-2020

Code answers related to "can we set session value in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language