On 13 Jun 2007, at 8:10 PM, SJL wrote:

I have this problem where i want to force download...

I actually want the "save as" window to appear and give the choice to the viewer.

Hmm. I've been following this thread, with its discussion of headers, MIME types and content-disposition, and I have to say that your post suggests a fundamental dilemma, even before you get to all the server-side shenanigans: you can't force your visitors to do anything - and especially not if you want to 'give them choice' as well!

The web is unique, in that it's a user-configurable medium. In the same way that we shouldn't try to serve the same pixel-perfect layouts to every visitor, you shouldn't expect to be able to 'force' your visitors to download a file. If their browser is configured with a helper app that handles your file inline, let it happen! Savvy surfers expect a measure of control - or at least the illusion of control - over their experience. That's why you hear, over and over, not to use pop-ups, new windows, or other practices that take that control out of their hands. They don't like it - and they'll go somewhere else.

'Podcasts' all over the web (and I quote the word because it's becoming a generic term for a downloadable audio file) are supplemented with a single, simple instruction: 'Right-click (or Control-click) and choose Save As...'

Now *that's* giving your visitors choice.

N
___________________________
omnivision. websight.
http://www.omnivision.com.au/



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to