<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 10:56 PM, Anand Meher <span dir="ltr">&lt;<a href="mailto:kvmsanand@gmail.com" target="_blank">kvmsanand@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear Perl Dancer Experts,<div>                                       I am new to perl dancer. Thank you for the dancer framework. I could ramp-up quickly w.r.t using dancer framework to develop simple web-pages.</div>

<div>


<br></div><div>I am trying to develop a webpage where I would like to have contents of a webpage refreshed (say after every x seconds). </div></blockquote><div><br></div><div style>Maybe I&#39;m misunderstanding but why do you need server side support for this?</div>

<div style><br></div><div style>The basic way of doing this is to add a &lt;meta&gt; tag to your HTML like this:</div><div style><br></div><div style>&lt;meta http-equiv=&quot;refresh&quot; content=&quot;60;url=URL_OF_YOUR_PAGE_GOES_HERE&quot; /&gt;<br>

</div><div style><br></div><div style>The 60 above is the number of seconds until refresh. Replace it with the proper place.</div><div style><br></div><div style>An alternative solution is a bit of Javascript that sets a timer and forces the refresh when it expires. You can even just refresh the parts of the page you need, with an AJAX request.</div>

<div style><br></div><div style>Maybe I misunderstood what you want to do, but I see no reason to do this server side on your explanation.</div><div style><br></div><div style>Bye.</div></div>-- <br>Pedro Melo<br>@pedromelo<br>

<a href="http://www.simplicidade.org/" target="_blank">http://www.simplicidade.org/</a><br><a href="mailto:xmpp%3Amelo@simplicidade.org" target="_blank">xmpp:melo@simplicidade.org</a><br>mailto:<a href="mailto:melo@simplicidade.org" target="_blank">melo@simplicidade.org</a>
</div></div>