• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem due to Browser REFRESH in jsp : download file functionality

 
Lalit ostwal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

We have a functionality in our application where user can download a file. Now if user starts the download process and in between presses browser REFRESH button (while the earlier download has still not finished) the new request gets submitted and the newer request starts getting processed halting/blocking the earlier request.


Is there any way we can block the user from sending interim requests by using browser refresh button and complete the processing of the current request successfully ?


We can not redirect user to another page in case of browser REFRESH as we don't want to block user's earlier request of downloading the file.


If anybody has faced similar kind of problem due to browser REFRESH button, kindly help us.


Thank you in advance,


Lalit
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35716
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lalit,
Welcome to JavaRanch!

You cannot tamper with a user's refresh button. In what browser does clicking things disrupt an already started download. I've downloaded multiple things concurrently in Firefox.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!