I'm currently dealing with some session issues within an ASP.NET application. The main program launches an ASP.NET dialog that includes a link to a PDF document. To "download" this file, I am using the code window.open('myurl/file.pdf');
When this code is executed, a new window opens but the file cannot be downloaded because the session object is not being transferred (it's worth noting that keeping the session in the new window will not work due to its integration within a C# WebBrowser frame).
Is there any way to download the file directly from the link without utilizing window.open()?