Can anyone identify the bottleneck that is causing this? As explained by Alex's link you're probably missing the header Content-Disposition on top of Content-Type. You can try this force-download script.
Even if you don't use it, it'll probably point you in the right direction:. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 12 years, 11 months ago. Active 4 months ago. Add a comment. Active Oldest Votes. You could however use cookies to do that. Just set the cookie, with a returned value from the server.
Wait till the user clicks the link. Invalidate the cookie after the user clicked the link. Community Bot 1 1 1 silver badge. Artjom B. I suspected this was the case. Just wanted to be sure. I guess I will fall back on some sort of session cookie arrangement similar to what you are suggesting.
What is the use of setting cookie to download file on link click. Hello admin, I love seeing blog that understand the value of providing a quality resource for free. I was extremely satisfied to discover this site. I needed to thank you for this incredible read!! I certainly getting a charge out of each and every piece of it and I have you bookmarked to look at new stuff you post You have a good point here!
I totally agree with what you have said!! Thanks for sharing your views Yes No. Thank you! Any more feedback? The more you tell us the more we can help. Can you help us improve? Resolved my issue. What: Add file headers to existing files, projects, and solutions using an EditorConfig. Add an EditorConfig to a project or solution if you do not already have one.
Set the value of the rule to equal the header text you would like applied.
0コメント