Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session variables
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01501064
Message ID:
01501090
Views:
41
>>Hi
>>
>>If I do
>>
>>HttpContext.Current.Session("DefaultCountryList") = country_list
>>
>>and I can see in the debugger that this has been populated with a list of countries
>>
>>then the next asp page does
>>
>>Me.m_Countries = HttpContext.Current.Session("DefaultCountryList")
>>
>>why is HttpContext.Current.Session("DefaultCountryList") empty
>>
>>I assumed that it would remain populated .
>>
>>Am I wrong.
>>
>>Thanks
>>
>>Nick
>
>If your country_list is something other than a string, you'll need to cast it to the correct type or object when you retrieve it from Session.

Its a comma seperated string

Whats weird is there are three strings

Session("DefaultCountryList") = country_list
Session("DefaultModelList") = model_list
Session("DefaultOperatorList") = operator_list

Country and Model are getting set to space and Operator to NULL.

/
Previous
Reply
Map
View

Click here to load this message in the networking platform