Use response.stream() On Fri, Aug 23, 2013 at 5:49 AM, Marco Prosperi <marcoprosperi...@gmail.com> wrote: > > hello, I would like to track the number of user download of some files on > database. The approach I've thought about is: > - when the user clicks on the filename link in the first view, myapp > redirects to a new page (a controller is called which register on the > database the new click) with 'your download should start shortly' > - a dialog pops up to download the file > > The question is: how to pop up the download file automatically in the second > view? > > thanks in advance for hints, > > Marco > > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out.
-- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.