<br><div class="gmail_quote">On Thu, Nov 5, 2009 at 12:24 AM, Japus <span dir="ltr">&lt;<a href="mailto:jasper.maes@gmail.com">jasper.maes@gmail.com</a>&gt;</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&#39;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&#39;t done it before, so that&#39;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&#39;ll have to get familiarized with ajax &amp; 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&#39;t changed, nothing should happen.<br>
</blockquote><br>
The $64K question here is: since the variable exists on the server, and you need to &quot;constantly&quot; check it from the client, how do you do so without a &quot;reload&quot;? <br><br>Again - look at ajax &amp; comet - they are designed specifically to answer this question. <br>
<br>HTH.  Cheers.<br>yc<br><br></div></div>