|
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.
<%
Auth.AuthTable = "data\Users.dbf" Auth.AuthFormFile = "authform.fwx" Auth.Header = "" Auth.Footer = "" Auth.SaveCookie = 1 Auth.Authenticate() M.FileName = "test.doc" M.ContentType = "application/msword" Response.AddHeader("Content-Disposition", "inline; filename=" + M.FileName) FileContent = ReadFile(M.FileName) * Specify size so that progress bar works properly Response.AddHeader("Content-Length", Server.ToString(LEN(M.FileContent))) Response.ContentType = M.ContentType * Send file to browser Response.Write(M.FileContent) %> |
FoxWeb Support Team support@foxweb.com email |