I'm currently having some session issues in an ASP.NET application. The main application opens an ASP.NET dialog, which contains a link to a PDF file. This file is 'downloaded' by using window.open('myurl/file.pdf');
This results in a new window opening, but the file cannot be downloaded due to the session object is not transferred (keep in mind the solution is a bit more complex, so trying to keep the session in the new window will not work because it's embedded in an C# WebBrowser frame).
Are there any possibilities downloading the file directly from the link, not through window.open()?