Hi there,
I wonder if anyone can help me with my problem...
I have a website in which a "header.asp x" is included the top of all the standard web pages. Inside this header file i would like to include code to manipulate what is shown from inside this "header.asp x" file. Is this possible?
I would like to run the following each time a page is called. The "headermenu " is a div in the "header.asp x" file I would like to remove if the user is not "logged in".
Where should the code go or am i doing it wrong?
Thank you enormously,
Chris
I wonder if anyone can help me with my problem...
I have a website in which a "header.asp x" is included the top of all the standard web pages. Inside this header file i would like to include code to manipulate what is shown from inside this "header.asp x" file. Is this possible?
I would like to run the following each time a page is called. The "headermenu " is a div in the "header.asp x" file I would like to remove if the user is not "logged in".
Code:
if (Session["logged"] != true)
{
headermenu.OuterHtml = "";
}
Thank you enormously,
Chris
Comment