I'm afraid I'm missing something very basic here.

When a user clicks a link to download a file, how to start the download 
after directing to the thank-you page? I can do either, but have not 
figured out how to do both.

Obviously, this won't work, but the desired behavior is something like this.

controller
========
def thank_you():
    file = request.args[0]
    downloader_function(file) # response in downloader_function terminates 
thank_you function
    message = 'file downloaded'
    return dict(message = message)

session.flash should work for a short message, but I would like a page. My 
attempts at LOAD() have resulted in the download file appearing in the 
created div, not downloading.

Thanks

Reply via email to