We have developed an ASP.NET application that uses a custom component that
we developed.
We are trying to load the custom component into the session state using
"System.Web.HttpContext.Current.Session.Add("objec tname",
customobject)"
and we receive the following error message:
"Session state can only be used when enableSessionState is set
to true, either in a configuration file or in the Page directive."
We have configured session state in both the page and the Web.Config. Is
there an additional step so allow for adding objects to the session? Also, it
is permitted to load objects into the session, correct?
Any assistance would be greatly appreciated.
--
Respectfully,
Andrew Corley
MCSD, MCDBA, Master CIW Designer