Set the content-disposition header so the download gets forked out to a separate request, and use Ajax on the main application page to keep the session alive. Are you using the Security component? What are your session security settings?
On Aug 23, 10:36 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > In my project the users will usually download files with sizes up to > 150MB at limited speeds depending on the remote location (intranet/ > internet), so the download process can take hours. I've created a > download function in a model which is requested by a function in a > controller. > > The problem is that once the download begins, the application gets > frozen and the user can't do any other action within this session > until the download is finished. The desired behaviour would be that, > while enough bandwith is available, the user can download several > files simultaneously. > > I've searched the group and done some google work without success. > Perhaps the solution is not so complicated but I don't know how to fix > this behaviour. > > Any idea on how to solve this problem? Can you point me to a resource > related to this issue? > > Thanks, > Juan > > CakePHP/1.1.16 on Apache/2.0.52 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
