Session problem

bungpeng

Well-known member
Joined
Sep 10, 2002
Messages
906
Location
Malaysia
This is first time I use Session in ASP.NET, I use Session to keep my collection object, like

Code:
 Session.Add("MySession", objCollection)
[code=vb]

The problem is my Session become Nothing when I link to second page... I only can access my Session if I use postback to next page.... Is there anything I am wrong? it suppose not like this right?
 
Have you explicitly turned on sessionState in your web.config file? I would check that those settings are correct as a beginner.
 
Back
Top