G
Guest
Hi,
I haven’t mastered the asp.net yet to be able to use asp.net 2.0 master
pages. So I am planning to create pages with .aspx extension and once I am
confident, I will rewrite them using master pages. The purpose of this
exercise is that I will be able to keep the filenames same.
All of these pages have a horizontal navigation menu. For the time being, I
am separating the simple html code of this horizontal menu into a separate
include file say topnav.txt. I read that include files should not be in
files that are not compiled ie. .txt as someone can simply enter in the path
in the browser and view your file!
Can someone suggest me what file extension (.txt, .aspx, .inc, etc) should I
give to this include file?
Joe
I haven’t mastered the asp.net yet to be able to use asp.net 2.0 master
pages. So I am planning to create pages with .aspx extension and once I am
confident, I will rewrite them using master pages. The purpose of this
exercise is that I will be able to keep the filenames same.
All of these pages have a horizontal navigation menu. For the time being, I
am separating the simple html code of this horizontal menu into a separate
include file say topnav.txt. I read that include files should not be in
files that are not compiled ie. .txt as someone can simply enter in the path
in the browser and view your file!
Can someone suggest me what file extension (.txt, .aspx, .inc, etc) should I
give to this include file?
Joe