Automate download

Results 1 to 2 of 2

Thread: Automate download

  1. #1
    Join Date
    Dec 1969

    Default Automate download

    I would like to develop a page that automatically brings up the windows download box prompting the user to download a file. I would also like this prompt to occur once per day per user. Is this some asp/cookies combination? Thanks!

  2. #2
    Join Date
    Dec 1969

    Default RE: Automate download

    I would use a database or flat file to "remember" that the user has downloaded the file for that day. You keep track of the user either through cookies or a login prompt. Then, a date field in a database would show the last date a file was downloaded for that user. If it doesn&#039t match today (evaluated when the user enters the site), bring up the download. As for the automatic window, you can use Response.Redirect or Javascript to go right to the file (e.g.: Response.Redirect("")).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts