Sunday, January 25, 2015

Accessing session variables in Asp.net

How to access Session variables in ASP.net?


$(document).ready(function () {         
        var RealName = '<%= Session["RealName"]%>';
        $("#userName").text(RealName);        
});

No comments:

Post a Comment