none
Window.name is empty after pressing back RRS feed

  • Question

  • Hi,

    we have a multiple tab prevention mechanism, which is based on window.name property. We set it once per session and when it is null, we are logging user out. This happens when user opens a new tab.

    We observed though, that whenever we download something in our app in IE with Content-Disposition header set to "attachment" and then press back button, window.name property is empty, so we log user out. We need to have "Content-Disposition" header set, as our clients requires Save As dialog to be shown when downloading.

    Why is window.name empty? Can somebody explain?

    Regards,

    Przemek


    • Edited by pshemu Thursday, March 19, 2015 12:09 PM
    Thursday, March 19, 2015 12:07 PM

Answers