Sunday, January 25, 2015

Accessing Session variables in ASP.net MVC

Accessing Session variables in ASP.net MVC

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

No comments:

Post a Comment