In this example Squares "[" & "]" bracket were used in place of "pointy brackets" Otherwise, an error would be thrown by the Browser [script] ' Response_WriteFile_Write_Redirect.vb.txt Sub Page_Load(sender As Object, e As EventArgs) DateString = System.DateTime.Now url = "http://www.Garlen.Net" End Sub [/script] <%Page.Response.WriteFile("Hello.txt")%>
<%Response.Write("It is now: ")%> <%=DateString%>
<%-- Response.Redirect(url) --%>