I'm using Internal Redirect to send large files. Here's my function:
def sendfile
@name = session[:jobname] + ".zip"
filename = "ublic/download/" + @name
headers["Location"] = filename
redirect_to(filename)
end
It works fine on Firefox but Safari and IE7 hang for a while and then say there is no document as that address?
Anybody else seen this issue? Is my code correct?
thanks,
Scott
def sendfile
@name = session[:jobname] + ".zip"
filename = "ublic/download/" + @name
headers["Location"] = filename
redirect_to(filename)
end
It works fine on Firefox but Safari and IE7 hang for a while and then say there is no document as that address?
Anybody else seen this issue? Is my code correct?
thanks,
Scott