what does setting this header in response imply ?

Posted on 2005-04-22
Last Modified: 2010-04-01

response.setHeader("Content-Disposition","attachment; filename=\"" + attachmentVO.getFileName() + "\"");

Can you tell me what does this do ??  

Does this pop the  File - Download Window ??

Question by:letsbedecent
    LVL 8

    Expert Comment

    LVL 29

    Expert Comment


    If you fancy some staggeringly boring reading, check out this which is the official working group presention on this header. But other than that, koppcha is absolutely correct.

    (just passing through, please ignore this comment for points purposes :-))
    LVL 8

    Accepted Solution


    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video discusses moving either the default database or any database to a new volume.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now