>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only