Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to use session variable in wpf application?



How to use session variable in wpf application?..

Answer / 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

More WPF Interview Questions

What are Freezable objects in WPF?

1 Answers  


What is the difference between xaml and baml?

1 Answers  


What is wpf in vb net?

1 Answers  


What is the difference between dynamicresource and staticresource?

1 Answers  


Is visual studio written in wpf?

1 Answers  


What is expression blend?

1 Answers  


How many types of documents are supported by wpf?

1 Answers  


Define Path animations in WPF

1 Answers  


What are the different types of layout controls?

1 Answers  


What is the simplest and most common way to componentize a complex ui?

1 Answers  


What are benefits of prism?

1 Answers  


How to create class in wpf application?

1 Answers  


Categories