ASP.NET Commander Page
Posted on 2005-05-09
I am in the process of building a commander page for my ASP.NET application.
The commander page is a class that inherits "System.Web.UI.Page"
Then, on webforms within my application, rather than inheriting "System.Web.UI.Page" on the forms, I inherit my commander page.
This works great, up until I try to access Session variables from my commander class.
I've tried several variations, and I keep getting the following error:
"Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive"
Keep in mind, that Session State is ENABLED, and works fine from other locations. I think this has to do with an order in which the code is being executed but not quite sure.
Any help would be greatly appreciated.