>>>>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.
>>>
>>>Right in theory. Obvious question : Are you sure it's the same session ?
>>
>>Its a good question.
>>
>>It should be. But what could stop it being so ?
>>
>>The session variables should be set by the first page loaded.
>>
>>On the first page there is a menu and the page loaded from that find the session variable is empty.
>
>Just seen that I somehow managed to post to myself earlier so you may not have seen the reply. Questions were:
>
>Is all session state info missing or is it just the DefaultCountryList?
>Can you check the SesssionId ?
>At what point in the page cycle is 'Me.m_Countries = HttpContext.Current.Session("DefaultCountryList")' executed?
>
>Enjoying 'East of Nowhere' greatly btw. (it was your recommendation wasn't it?)
Hi Viv glad you're enjoying the book (i wonder how far through it you are)
I found where my session variables where getting reset (eventually)
thanks to you and others for your help.
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