I have an ASP that calls a COM object that creates a document. I store the
document on the web server. I pass the COM object a physical path (i.e. c:\inetput\wwwroot\output).
The COM then passes me the same path with the file name appended.
I use the following line to display the file on a page:
<meta http-equiv="refresh" content="2;URL=<%=Path%>">
This works on my localhost but when I move it to the server the page just
keeps refreshing. I think that maybe it is because path that I am putting
in the URL is a physical path. Do I need to convert the physical path to
a virtual path? If so, how do I do this?
This is the code for the entire page:
<%@ Language=VBScript %>
FileType = Request.QueryString("filetype")
CartID = Request.QueryString("cartid")
dim obj, Path
Path = server.MapPath("/sfiqa/output")
set obj = server.CreateObject("SfiOutput.clsOutput")
Path = obj.Create("1", CStr(CartID), CStr(Path), CStr(FileType))
Response.Write "<meta http-equiv=""refresh"" content=""2;URL=" & Path & """>"
Can anyone help?
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center