Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session variables
Message
From
12/02/2011 18:26:50
 
 
To
11/02/2011 08:38:06
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01499742
Message ID:
01499957
Views:
38
>HI
>
>I need to store some values that I can get at frequently in my web site.
>
>I want to store them as session variables
>
>Where is the best place to create and load them
>
>Thanks
>
>Nick

If you create a static class with static properties you can load if from a database when you instantiate it on app load and save it back on close.

Depending on what they are you might want to try settings as well.


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform