On 21 Feb 2009, at 22:32, Perry Smith wrote:
>
> I want to have a single link that displays a page and also starts a
> download. Is that possible?
not quite - for a single http request there will be a single response:
either an html page, or a file (or a redirect etc...).
You could serve a page which after a few second redirected to the
download url.
Fred>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---