It works fine for me even if I try to open the file in another window. Here's the code I used:
Sent by James Williams on 02/13/2003 03:38:31 AM:
Your code and my code will run fine in its on window (being called directly)
Did you run my code or your code from a new popup window. using (window.open)
I now know my code did not generate the word or image file not was not necessary to show you the problem.
The page if set to display a word doc generates the auth form as a word document.
also email notification not working.
Sent by FoxWeb Support on 02/12/2003 07:05:09 PM:
Your code does not seem to add the content of the word file to the output, but once we added this it all worked fine. Here's the code we used:
Sent by James Williams on 02/12/2003 06:26:33 AM:
I am having trouble using the auth object in conjuntion with a file download (but only if the file type is that of a word document).
If the auth object is not used the word doc download works fine.
Here is a sample of the problem
File saved as "testword.fwx"
Auth.AuthTable = "data\Users.dbf"
Auth.AuthFormFile = "authform.fwx"
Auth.Header = ""
Auth.Footer = ""
Auth.SaveCookie = 1
cShowType = Request.QueryString("ShowType")
If cShowType = "1"
Response.ContentType = "application/msword"
Response.ContentType = "image/jpeg"