Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session variables
Message
 
 
To
11/02/2011 08:38:06
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01499742
Message ID:
01499759
Views:
35
>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

You can create a session variable any page and get it at any page. These are not like variables that have a scope. For example, in my ASP.NET app I create a couple of session variables in one of the pages, bases on the user selection (like user ID or something like that). Then I can "get" the value in this session variable in any other page of the site.

HTH.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform