Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

access session in javascript


 <script type="text/javascript">
function SetUserName()
{
    var userName = "Shekhar Shete";
    '<%Session["UserName"] = "' + userName + '"; %>';
     alert('<%=Session["UserName"] %>');
}
</script>

Source by coders911.org #
 
PREVIOUS NEXT
Tagged: #access #session #javascript
ADD COMMENT
Topic
Name
4+4 =