473,322 Members | 1,287 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Synchronisation problem between windows (PHP and Javascript)

CG
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.exe) located on
the Server, and the Page 2.php reads the result of a log file
(application.log) generated by application.exe.
What I need to do is to read, in real-time, "application.log",
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.

Jul 23 '05 #1
1 1225
What? Send me more information, you want to start 2 pages at 1 time ? Tell
my why
"CG" <cg*********@nospamseres.fr> schreef in bericht
news:41***********************@news.wanadoo.fr...
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.exe) located
on
the Server, and the Page 2.php reads the result of a log file
(application.log) generated by application.exe.
What I need to do is to read, in real-time, "application.log",
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.

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: CG | last post by:
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...
2
by: Raptor | last post by:
I'm a complete Javascript n00b, using a snippet I found on the web. I'll probably be buying a Javascript book. What's the authoritative on-line resource for Javascript, like php.net is for PHP? ...
0
by: Tony Epton | last post by:
I am not quite a newbie in the area of SQL server - more "knows just enough to be dangerous" - so please be gentle with me. Cross posted to several groups - apologies if too far off topic I...
2
by: Gulasch | last post by:
Hi. I was thinking about how to dynamically submit and recieve Data between Javascript and PHP. After some days of trying around I produced the following piece of code: --snip-- <html>...
0
by: tbb | last post by:
Hi is it possible to do the synchronisation of the briefcase programmatically? Greets tim
7
by: Inny | last post by:
Hello again, Im using the code below in a child page (popup), the images are called from the parent page. When the changer is running, the child page goes white between images. I realise this is...
2
by: pradnya | last post by:
How to share/use a variable between PHP and HTML on the same page ? ( i.e. without using GET/ POST etc.... ) Is it possible ? And what about same with PHP and JavaScript ?
14
by: Sam H | last post by:
I'm writing scripts on Windows that are in PHP. Basically people will be double clicking the .php file which will run the CLI app. Is there some way in PHP to pop up a Windows messagebox? ...
19
by: Hapa | last post by:
Does only reading (never writing) of a variable need thread synchronisation? Thanks for help? PS. Anybody knows a Visual C++ news group?
4
by: sujatha k | last post by:
I want to create one window service to synchronice my local database with server database.i've done the synchronization process in .net application it is working fine. i copied tat code and put it in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.