Thursday, February 18, 2016

How to save session variables in SharePoint page?

Code:

 public string Name
    {
        get
        {
            return Page.Session["nName"] as string;
        }
        set
        {
            Page.Session["nName"] = value;
        }
    }

No comments:

Post a Comment