Re: Rik--perhaps you know



On Sun, 16 Jul 2006 10:37:22 +0200, "Rik" <luiheidsgoeroe@xxxxxxxxxxx>
wrote:

David wrote:
Scenario: I enter information in a form. I want a table on another
screen (terminal server?) to be updated with that information. Is it
possible to direct output directly to another screen?

What I have thought of so far is this:
I can run a broswer at another terminal (computer), log in to the
screen that needs to be updated and use the refresh meta command to
have the page update itself (I believe). Can a page refresh itself?
If yes, will the database queries be executed?

If you allow the browser to refresh pages it can, either by meta-tags, or
javascript. As long as the page isn't cached by the browser, and you run
queries on the remote PHP-script, they will offcourse run every time the
page is requested.

At the main program, the data would be entered using forms and stored
in a database for the "terminal" program to retrieve.

What I would really like to happen is that the main program "pushes"
the data to the terminal, though.

That's not possible in browsers.
The only solution is to keep refreshing the page or a (hidden?) (i)frame, or
keep polling a custom php-page with the additional info using XMLHTTPRequest
and the like in javascript. Maybe there is something to be found in Java
applets, but those are outside my area of expertise :-).

Depending on what your actual goal is here (limited amount of known & logged
in users that monitor something?), there could be much better options then
browsers. Preferaply applications that can listen and respond to incoming
traffic on a certain port. Those really aren't my cup of tea, but I'd
imagine someone knowing C++ can whip one up. It would likely be much faster
and accurate then anything you can achieve in a browser.

Grtz,

Rik,
Thanks for your input. I've been thinking about this problem a lot.
It may be possible to do something with bash scripts. I have to get
Linux installed on this computer first. I did a little javascript
programming a few years back. Not enough to help me with this problem
and I am do not have enough time to learn all of the javacsript that i
would need.

For testing purposes, I will simply set it up with the meta-tags. It
is definitely not the best solution, but I need to do it as a demo.

Thx again,
David

.



Relevant Pages

  • Re: How do I update an image without manual refresh?
    ... The browser will think it is a different image and will get it from the ... It doesn't have to be in javascript. ... If you do it on server side, ... How can I get an asp:Image to refresh when a user uploads a different ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Linux / C / Netscape / system()
    ... # the Netscape 4.79 browser. ... # to refresh the web page and I need to automate this process. ... It's easy in Javascript to start a timer ... thing where the Javascript polls a second URL to determine if the ...
    (comp.unix.programmer)
  • Re: Error refreshing a web page
    ... since my work has nothing to do with commerce, ... browser to pop up such a specific message, ... Environment: VS 2005 team developer, AJAX extensions, .NET 2.0. ... The browser's refresh button works fine UNTIL I click the button on the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Rik--perhaps you know
    ... Can a page refresh itself? ... will the database queries be executed? ... As long as the page isn't cached by the browser, ... and the like in javascript. ...
    (alt.php)
  • Re: Code to "click" a button -- is this possible?
    ... Once the client receives ... look at is that the web server simply makes a suggestion to the browser. ... will refresh another frame called "Main"? ... I have frames set up in an asp.net application and need one frame to ...
    (microsoft.public.dotnet.languages.csharp)