Hi Aleksandra, An easy solution is to use target="_blank" in the links to the downloads.
- Peter On Fri, Jul 8, 2011 at 12:45 AM, Aleksandra Kłapcińska < [email protected]> wrote: > Hi everyone, > I'm developing an app on google app engine in python. I use there > channel API, > to inform user that processing is going on. I also need user to > download one file from my page. > > The problem is that when user clicks link to download file, channel > gets disconnected, but only when using Chrome, and Firefox. Everything > works fine on IE. I know that channel is then disconnected, because I > get then POST on /_ah/channel/disconnected. > According to documentation I use Channel API properly(One Client Per > Client ID, One Client Per Channel Per Page). > > I was quite surprised that it worked well on IE, but then I noticed, > that only IE can open that file directly( Chrome, and Firefox ask > where to save the file).I think that this is the problem. > > Fast workaround is to reopen channel just after clicking on link to > file, but i want to know if there is an better solution. > > I would really appreciate any help. > > Aleksandra Kłapcińska > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" 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/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en.
