Synchronisation problem between windows (PHP and Javascript)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CG

    #1

    Synchronisation problem between windows (PHP and Javascript)

    Hello,

    I've got a problem with the pages I developped, written with both PHP and
    JavaScript.
    My Web site is an ASP controlling an application :
    In fact the Page1.php controls the application (application.ex e) located on
    the Server, and the Page 2.php reads the result of a log file
    (application.lo g) generated by application.exe .
    What I need to do is to read, in real-time, "application.lo g",
    application.log still growing after application.log has been launched.

    My problem is that when I launch the Page2 from a new session of a navigator
    (IE for example), my devloppement works fine : Page2 reads in real time
    application.log , but if I launche the Page2 from Page1 (with javascript
    function such as window.open( "page2.php" , ...)) page2.php begins to scroll
    after the application.exe has ended, the process seems to be synchron (this
    is just that i don't want).

    So my problem is how to launch page2.php from page1.php in asynchonous
    mode...?

    Thanks for your help.

    Chris.



  • Nicolai Admiraal

    #2
    Re: Synchronisation problem between windows (PHP and Javascript)

    What? Send me more information, you want to start 2 pages at 1 time ? Tell
    my why


    "CG" <cgranottier@no spamseres.fr> schreef in bericht
    news:417cdea9$0 $28569$8fcfb975 @news.wanadoo.f r...[color=blue]
    > Hello,
    >
    > I've got a problem with the pages I developped, written with both PHP and
    > JavaScript.
    > My Web site is an ASP controlling an application :
    > In fact the Page1.php controls the application (application.ex e) located
    > on
    > the Server, and the Page 2.php reads the result of a log file
    > (application.lo g) generated by application.exe .
    > What I need to do is to read, in real-time, "application.lo g",
    > application.log still growing after application.log has been launched.
    >
    > My problem is that when I launch the Page2 from a new session of a
    > navigator
    > (IE for example), my devloppement works fine : Page2 reads in real time
    > application.log , but if I launche the Page2 from Page1 (with javascript
    > function such as window.open( "page2.php" , ...)) page2.php begins to
    > scroll
    > after the application.exe has ended, the process seems to be synchron
    > (this
    > is just that i don't want).
    >
    > So my problem is how to launch page2.php from page1.php in asynchonous
    > mode...?
    >
    > Thanks for your help.
    >
    > Chris.
    >
    >
    >[/color]


    Comment

    Working...