Your server has no idea about windows - it just sends files back to the browser. You must do this using JavaScript:
window.open('url to open','window name','attribute1,attribute2')
Thus, you can either create your own view and template, the task of which is to open a new window with the specified link, then return the main window to the page on which it was previously, or simply open the desired link from the original window without communication with the server
source
share