Writing ASP code in to file by using FileSystemObject
Hello,
I am trying to write dynamically generated asp code in to different asp
page(like new.asp) by using Scripting.FileSystemObject but problem I am
Facing is I am not able to write? this code into new.asp
set df1=fso.OpenTextFile(Session("filename"),2)
?
con=server.CreateObject(""ADODB.Connection"")con.Open(""accountantplus"")
set rs=con.Execute(""select * from members where
login='"&<%=login%>&"'")
?
The problem i am facing is I am not able to Write special characters
like (<% %> and " etc).
How to write special character in to file by using FileSystemObject 's
Write method.
thank you
dheeraj