I have an application that is deployed in a farm that contains 2 front end server that are controlled by a Network Load Balaner In the application there is a Report part, the reports works as shown below.
- The application generates the report as a PDF file and save it in a certain folder in the application.
- I have a PDF viewer in the application that takes the URL of the file and displays it.
As you know, in the farm I can not ensure that the request in step 2 will go to the same server in step 1, and this will cause a problem for me.
Any help is very appreciated.
The problem is that after creating the file on a certain VM, I give the PDF viewer the url of the pdf viewer as "http://..../file.pdf". This will generate a new request that I cannot control, and I cannot know which server will server.