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 is expression blend?

1 Answers  


Describe about RelativeResource Property in WPF application?

1 Answers  


You need to display a list of items. Which controls are possible options? Of those, which would you use and why?

1 Answers  


What is the namespace that is used for WPF?

1 Answers   Wipro,


What is the default Orientation of Stack Panel?

1 Answers  


Why should WPF be preferred over Adobe Flash?

1 Answers  


Is wpf dead 2019?

1 Answers  


Which is better winforms or wpf?

1 Answers  


What is customcontrol?

1 Answers  


In xaml how graphic components are specified?

1 Answers  


List of features of mvvm?

1 Answers  


How can you set a property attribute as a literal string and not a mark up extension?

1 Answers  


Categories