<br><div class="gmail_quote">On Thu, Nov 5, 2009 at 12:24 AM, Japus <span dir="ltr"><<a href="mailto:jasper.maes@gmail.com">jasper.maes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I already tried the meta-refresh technique and javascript too but the<br>
problem with those is that when I use a variable in it, it reads it's<br>
value when the code is generated and based on that it decides how long<br>
it takes to reload but it should reload when the value of that<br>
variable changes. </blockquote><div><br>Jasper - <br><br>Meta-refresh gets you half way there with almost no work, but the remaining half way is a major undertaking if you haven't done it before, so that's why I mentioned meta-refresh as an option unless you are ready to go all the way. <br>
<br>Assuming you are ready to go all the way - you'll have to get familiarized with ajax & http comet, as they are the solution to your question. There are abundant information on these topics on the web and books. The techniques are server independent, so you can use them with plt web-server.<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">So it should constantly check the variable and see<br>
if the variable has changed and when it has, instantly reload. If it<br>
hasn't changed, nothing should happen.<br>
</blockquote><br>
The $64K question here is: since the variable exists on the server, and you need to "constantly" check it from the client, how do you do so without a "reload"? <br><br>Again - look at ajax & comet - they are designed specifically to answer this question. <br>
<br>HTH. Cheers.<br>yc<br><br></div></div>