Popup window

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blacky
    New Member
    • Jan 2009
    • 40

    Popup window

    I have a main application window,from this we have one link(UUU) ,clicking on this will open a popup window.
    When I do a logout in main window and refresh the pop up window will lead to session expiration and redirect to the login page.
    Then If I do login in the popup window and click on the link UUU is opening in the same window instead of opening in the new popup window.

    Following is the code description.

    If session is getting expired,I am changing the popup window name and redirect to login page.

    In aspx page, javascript code
    Code:
    function alertMe() 
    {
             window.name="test";
            window.location="http://login.aspx";
    }

    In firefox,it is working fine(opening in a new window(tab)) but in IE ,it is opening in the same window.
    Is anybody knows whether this is the expected behavior of IE or have any other solution?

    Regards,

    Blacky
    Last edited by Frinavale; Apr 23 '10, 07:08 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.
  • RamananKalirajan
    Contributor
    • Mar 2008
    • 608

    #2
    Give

    Code:
    window.target="_blank";
    Thanks and Regards
    Ramanan Kalirajan

    Comment

    • chathura86
      New Member
      • May 2007
      • 227

      #3


      Regards

      Comment

      Working...