Child and popup window problem!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jeyush
    New Member
    • Sep 2009
    • 4

    Child and popup window problem!

    Hey buddy,

    I have three pages 1)index.php 2)login.php 3)client.php.

    When I click on "login" on index.php page, it opens a popup.

    When I submit that login page at that time I want to redirect to client.php.

    The problem arise here, when the submit is successful in login.php (popup window), my client.php page appears inside popup window.

    There may be simple solution but I am not able to find it.

    If you have solution then please draw my attention towards.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    I see three ways to handle that:
    - let login.php submit the data and tell index.php via window.opener (I think, but along that line) to load the client.php
    - let login.php pass the data to index.php and submit from there
    - use login.php as a separate page (drop the pop-up)

    Comment

    Working...