Calling javascript function window.location.assign(url); almost does my job except for one problem - Firefox and Chromium do not send out cookie to server. Server can not determine access privileges without cookies.
How do I send cookies along with URL as the request to server and open a download window without navigating away from the page?
[Edit] This an invalid question. Please ignore it! Browsers do send cookies along with the URL to server. It is my server code that fails to catch the incoming cookies.