Hello,
we have a intranet wich are static html pages. Now the supervisor asked me to use simple asp (no xml, no xsl) to replace those html pages. the supervisor said "just use Reponse.write ... "
My first question is:
I tried to convert by just change the file name from default.htm to default.asp. It works fine. Should I still use Response.write ? IS the processing the same ? I mean the server needs to process the page and then send to the client side. since the page is static page with lots of tables, Isn't it better to just change the name ?
Second question:
I am going to use include file for header and footer. But the header needs a little bit change based on different includer page. for example, when department1.asp has the include file header.inc, the header.inc should show company logo + department1 name. if department2.asp, then company logo + department2 name. ... My question is can I pass variables between the includer and includee asp to conditionally control the department name ??
Thanks a lot
we have a intranet wich are static html pages. Now the supervisor asked me to use simple asp (no xml, no xsl) to replace those html pages. the supervisor said "just use Reponse.write ... "
My first question is:
I tried to convert by just change the file name from default.htm to default.asp. It works fine. Should I still use Response.write ? IS the processing the same ? I mean the server needs to process the page and then send to the client side. since the page is static page with lots of tables, Isn't it better to just change the name ?
Second question:
I am going to use include file for header and footer. But the header needs a little bit change based on different includer page. for example, when department1.asp has the include file header.inc, the header.inc should show company logo + department1 name. if department2.asp, then company logo + department2 name. ... My question is can I pass variables between the includer and includee asp to conditionally control the department name ??
Thanks a lot