I am using a writeline method to create a new page containing all required code.
However, included within the page code are various asp calls.
The problem I have is that the asp page writing the page will error every time it comes accross "<%" or "%>" within the writeline.
Do any of you have any ideas on how to get around this? Many thanks in advance...
eg. Anything under line84 is going to err...
Expand|Select|Wrap|Line Numbers
- 80 writethis.WriteLine("<!--#include virtual=""/alt/alt.asp"" -->")
- 81 writethis.WriteLine("<meta http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-1"">")
- 82 writethis.WriteLine("<link rel=""stylesheet"" href=""/ccss/ccl.css"" type=""text/css"">")
- 83 writethis.WriteLine("<script language=""javascript"">")
- 84 writethis.WriteLine("window.myMen = ""<%=session(""myMen"")%>"";")
- 85 writethis.WriteLine("window.mySub = ""<%=session(""mySub"")%>"";")
- 86 writethis.WriteLine("</script>")