I developed a small dash app that takes excel file as input, process it and downloads the result as an excel file.
When I run in 1 browser tab the app works as expected. But if I run in multiple browser tabs simultaneously, the downloaded excel files are corrupted
I deployed the app in Beanstalk and tried running the app in two different browsers simultaneously still the excel files that are downloaded are corrupted. But if I run only 1 session it works fine.
I tried setting threaded = True but that did not help
Am I missing anything? Please help. Thanks in advance
This fixed my issue. Now I am trying to find a way to rename my file to “Result” and truncate the appended number before downloading. Is that possible?
If there is a better way to do this please let me know
Thank you jlfsjunior. This is exactly what I wanted. I changed my code now I don’t have to deal with deleting files from my project folder or renaming.