Re: [PHP-WIN] Reload/refresh web page

2007-05-06 Thread Alf Stockton
bedul wrote: use this 20 mean 20 sec will reload it self index2.php change into your page name (index.php) the next meta u must include.. or not? I have decided to use "URL?Diva=" and it seems to work for me -- Regards, Alf Stocktonwww.stockton.co.za All things that are, are

Re: [PHP-WIN] Reload/refresh web page

2007-05-06 Thread bedul
use this 20 mean 20 sec will reload it self index2.php change into your page name (index.php) the next meta u must include.. or not? - Original Message - From: "Alf Stockton" <[EMAIL PROTECTED]> To: "php windows" Sent: Friday, May 04, 2007 3:51 PM Subject: [PHP-WIN] Reload/refresh we

Re: [PHP-WIN] Reload/refresh web page

2007-05-05 Thread Alf Stockton
Thank you all for your suggestions and help. I have decided, as the pages are all created in PHP, to go with URL?Diva=rand() or URL?UID=&Diva=rand() and it seems to work. Let us now see how idiot proof it is and give it to the users and see if God has made a better idiot. -- Regards, Alf Sto

RE: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Bill Bolte
hp windows Subject: Re: [PHP-WIN] Reload/refresh web page Bill Bolte wrote: > Aaah, so it's a caching issue then. Is that particular content using > PHP's caching mechanism or is it simply the browser's cache settings > mucking things up? > You are correct, it is the bro

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Aleksandar Vojnovic
cript call. Maybe by borrowing this concept and put a random value in the querystring (that servers no purpose) will fool the browser and load the new content. -Original Message- From: Alf Stockton [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 10:02 AM To: php windows Subject:

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Bill Bolte wrote: Aaah, so it's a caching issue then. Is that particular content using PHP's caching mechanism or is it simply the browser's cache settings mucking things up? You are correct, it is the broser, and I have no control over which browser they are using or how that browser is config

RE: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Bill Bolte
tockton [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 10:02 AM To: php windows Subject: Re: [PHP-WIN] Reload/refresh web page Bill Bolte wrote: > Why isn't it being retrieved the first time the page is called? > It is but the page I need to reload is a dynamic page that may

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Bill Bolte wrote: Why isn't it being retrieved the first time the page is called? It is but the page I need to reload is a dynamic page that may be used as a menu to call another php that would be used to update a database contents of which were displayed on the original page and on return to

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Kevin Smith
I'll go with Bill's suggestion. Just track whether the page has already been loaded. Bill Bolte wrote: Can we ask why you need a reload every time? Maybe there's a better approach? But, if you need to reload the first time someone hit's a page, add a querystring value to the url and track it.

RE: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Bill Bolte
Why isn't it being retrieved the first time the page is called? -Original Message- From: Alf Stockton [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 9:03 AM To: php windows Subject: Re: [PHP-WIN] Reload/refresh web page Bill Bolte wrote: > Can we ask why you need a relo

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Bill Bolte wrote: Can we ask why you need a reload every time? Maybe there's a better approach? The page I want reloaded is dynamic and every time it displays I want it to be retrieved from the server, but how? If you can make another suggestion I would be happy to hear it. -- Regards, Alf S

RE: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Bill Bolte
Can we ask why you need a reload every time? Maybe there's a better approach? But, if you need to reload the first time someone hit's a page, add a querystring value to the url and track it. If the value isn't there ( if(!isset($_GET['reload'])){// do a reload} ), then do a header: location call.

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Kevin Smith wrote: // The argument to the location.reload function determines // if the browser should retrieve the document from the // web-server. In this example all we need to do is cause // the JavaScript block in the document body to be // re-evaluated. If we needed to pull the docum

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Jody Williams wrote: I have seen references to using the "refresh" without the content. could this be incorporated into an onload event? www.html-reference.com says that Indicates the document displays for a specified amount of time before switching to a new URL. The full absolute URL must be

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Kevin Smith
// The argument to the location.reload function determines // if the browser should retrieve the document from the // web-server. In this example all we need to do is cause // the JavaScript block in the document body to be // re-evaluated. If we needed to pull the document from // the web

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Jody Williams
I have seen references to using the "refresh" without the content. could this be incorporated into an onload event? On 5/4/07, Alf Stockton <[EMAIL PROTECTED]> wrote: Jody Williams wrote: > what about using: > > That would refresh after 600 seconds. Not quite what I want. I want to refresh on r

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Jody Williams wrote: what about using: That would refresh after 600 seconds. Not quite what I want. I want to refresh on reload but as I said in my original email:- My first thought was to add refresh within a onload but this would be daft as one would end up in a permanent loop. but thank y

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Jody Williams
what about using: On 5/4/07, Alf Stockton <[EMAIL PROTECTED]> wrote: I need to add some coding to a web page that forces a reload from the server every time the page loads, no matter where the user came from. I already have the following meta tags but that does not do what is required. http:/