curiouswebster
asked on
How can Site.Master access a variable created by Global.asax?
I have a variable I'd like to create in the Global.asax file that I then want to access from the Site.Master file. How can I do that?
Thanks,
newbieweb
Thanks,
newbieweb
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Both the
Context.Session
and the
HttpContext.Current.Sessio n
are null in Global.Application_Start()
Context.Session
and the
HttpContext.Current.Sessio
are null in Global.Application_Start()
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
ASKER
"Session state is not available in this context." when I try this first step...
Session["RDDBAdminDataStor
Session["AppPermissions"] = appPermissions;
Do I first need to create a Session variable?