Hmongkeysauce
Senior member
Hi there,
I'm a rookie at this ASP.NET stuff. I've created a Master Page, that grabs a GET variable and sets a few global variables soft of speak. All the variables in this page are private, but I provided public functions to get those variables. However, I cannot retrieve these variables from the content pages using the public functions. I've included the Master Page directive at the top of the .aspx file:
<%@ MasterType TypeName="masterpage" %>
and still nothing. It's not giving me an error, I'm just retrieving null data. What gives?
Also, let's say if i want to create a small CMS application for this website. I've located all the files in a different folder called CMS. Should I add a new web.config file in this folder to protect all files in this folder or can I do this from the main website's web.config? Thanks in advance.
EDIT: ASP.NET 2.0 framework with C# language
I'm a rookie at this ASP.NET stuff. I've created a Master Page, that grabs a GET variable and sets a few global variables soft of speak. All the variables in this page are private, but I provided public functions to get those variables. However, I cannot retrieve these variables from the content pages using the public functions. I've included the Master Page directive at the top of the .aspx file:
<%@ MasterType TypeName="masterpage" %>
and still nothing. It's not giving me an error, I'm just retrieving null data. What gives?
Also, let's say if i want to create a small CMS application for this website. I've located all the files in a different folder called CMS. Should I add a new web.config file in this folder to protect all files in this folder or can I do this from the main website's web.config? Thanks in advance.
EDIT: ASP.NET 2.0 framework with C# language