Page 1 of 1
Reloading Webpage
Posted: Fri Oct 24, 2008 12:30 am
by shidagernade
Hi,
My webpage is accessed by multiple clients at a time.. and I want to refresh all those pages when ever any one of the clients updates certain fields.. Could anyone please give me some pointers on how to do that..
I will really appreciate any help.
Regards,
Re: Reloading Webpage
Posted: Fri Oct 24, 2008 2:28 am
by aceconcepts
meta refresh
Re: Reloading Webpage
Posted: Fri Oct 24, 2008 9:20 pm
by shidagernade
Hi,
Can you provide a bit more details about meta refresh.. Isn't it the case that meta refresh will refresh the page after a certain fixed time that is provided as parameter to it.. In my case I just want to reload all the client webpages whenever anyone of the clients makes a change to the webpage..
Thanks
Re: Reloading Webpage
Posted: Fri Oct 24, 2008 10:28 pm
by Syntac
You might be able to do this with Ajax, but I shudder at the thought of what it might involve.
Re: Reloading Webpage
Posted: Sat Oct 25, 2008 8:44 am
by aceconcepts
Using meta refresh you can reload a page after a certain period or on an event or in a conditional statement.
Look up meta refresh in your preferred search engine - do a little research eh

Re: Reloading Webpage
Posted: Sat Oct 25, 2008 1:21 pm
by shidagernade
Hi aceconcepts,
I did some research on meta refresh as you suggested..

and I can see that you can use it within conditional statements and on events.. but the problem is that those events have to generated by the same page that wants to refresh itself.. Let me explain my question in a bit of details...
Lets assume there are clients A and B and both access the webpage X at the same time.. Client A writes something on the webpage X and presses ok.. I can use meta refresh over here to reload client A's webpage.. but at the same time I want the webpage of client B to reload itself so that the changes made by client A are reflected at client B's webpage as well.. How can I achieve this functionality.. do I need to use cookies ???
I am really grateful to you for your help.
Thanks,