A
Abhishek Srivastava
Hello All,
I am developting an application where we generate a text file. Now we
display the page with links to the text file.
If the user clicks on the link the browser displays the contents of the
text file.
I don't want this behaviour. I want the browser to prompt that does the
user want to open or save the file. if the user clicks open then the
contents of the file are displayed. else the text file is saved.
How can I get this kind of behavious.... can I set anything in my http
header which forces IE to change its behaviour of directly displaying
the text file?
regards,
Abhishek.
I am developting an application where we generate a text file. Now we
display the page with links to the text file.
If the user clicks on the link the browser displays the contents of the
text file.
I don't want this behaviour. I want the browser to prompt that does the
user want to open or save the file. if the user clicks open then the
contents of the file are displayed. else the text file is saved.
How can I get this kind of behavious.... can I set anything in my http
header which forces IE to change its behaviour of directly displaying
the text file?
regards,
Abhishek.