Answer Posted / Arvind Kumar Verma
In WPF, you can manage session variables using the HttpSessionState class. First, declare the Session object in your code-behind file: System.Web.HttpSessionState BaseSession.nTo set a value:n```csharpnBaseSession["key"] = value; n```nAnd to retrieve a value:n```csharpnstring value = (string)BaseSession["key"]; n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category