Problem displaying page before initiating file download

Discussion in 'ASP General' started by Richard L Rosenheim, Jan 30, 2005.

  1. I'm looking to display a page and then initiate the downloading of a file.
    Basically trying to display a page that says the download will begin
    shortly, and if it doesn't, click here. Like what you see at a number
    sites.

    I found code to initiate the download in a previous posting ("Force Download
    fails when I select "Open" but works when I select "Save"", posted Jan 25,
    2005). The code works fine in terms of initiating the download. The
    problem I've encountered is that the download begins before the page itself
    is displayed.

    Does anyone have any suggestions, or know of a better example?

    Richard Rosenheim
    Richard L Rosenheim, Jan 30, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jay
    Replies:
    8
    Views:
    6,536
    livshitz
    Jun 12, 2011
  2. Pavils Jurjans

    ASP page initiating complex code execution

    Pavils Jurjans, Feb 3, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    357
    Tommy
    Feb 3, 2004
  3. Replies:
    1
    Views:
    341
    souri challa
    Jul 8, 2005
  4. Replies:
    2
    Views:
    342
  5. Tim Fooy
    Replies:
    3
    Views:
    1,826
    Tim Fooy
    Aug 13, 2004
Loading...

Share This Page