Accessing Session variables in ASP.net MVC
$(document).ready(function () { var RealName = '@Session["RealName"]'; $("#userName").text(RealName); });
No comments:
Post a Comment