Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set a value in session using javascript

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

        var username = '<%= Session["UserName"] %>';
        alert(username );
    }
</script>
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #set #session #javascript
ADD COMMENT
Topic
Name
9+5 =