Answers for "javascript store session value"

0

set a value in session using javascript

<script type="text/javascript">
function SetUserName()
{
    var userName = "Shahid Bhat";
    '<%Session["UserName"] = "' + userName + '"; %>';
     alert('<%=Session["UserName"] %>');
}
</script>
Posted by: Guest on June-18-2020
0

how to get session value using javascript

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

Code answers related to "javascript store session value"

Code answers related to "Javascript"

Browse Popular Code Answers by Language