the first part of your guess is right. Sorry,the Second part isn't! Let me explain a little bit more clearly then. My ASP page is 'show_timesheet.asp'. When it is called by the search page.asp it displays the dynamic data on it then I pass the necessary variables and the name of the page(which is 'show_timesheet.asp') to 'the print.asp' through Query string. The Print.asp manipulates and formats the 'show_timesheet.asp' through FSObject and RegEx and prints it. Then when I want to download the same 'the printible page' I do like that:
"Response.AddHeader "Content-Disposition", "filename=" & page & ".htm". filename is a variable and points 'show_timesheet'. This pases the name as HTM or TxT format to the browser to be downloaded . If I print it as a clint no ASP code on the view/source. But when I download the same page and save it on the desktop , i could see the entire ASP code of 'show_timesheet.asp' on the view/source.Bizarre... It is obvious that the FsO read the entire ASP file... Sorry, a little bit repeat...
Many Thanks