FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Is there a way to distinguish an auto-refresh from a manual page load?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Is there a way to distinguish an auto-refresh from a manual page load? [message #177201 is a reply to message #177199] Sun, 26 February 2012 21:14 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
crankypuss wrote:
> On 02/26/2012 11:44 AM, Peter H. Coffin wrote:
>> On Sun, 26 Feb 2012 11:08:25 -0700, crankypuss wrote:
>>
>>> I've never been successful in digging around to find out how the few
>>> web pages I've seen are able to update the page without constant
>>> flickering and so on, it's my impression (*not* understanding, I lack
>>> that) that http is a client/server protocol and that once a request
>>> has been fulfilled the transaction is over. I'm curious, but not
>>> compelled.
>>>
>>> On the other hand I have been somewhat successful in creating the same
>>> appearance by using closely spaced refreshes, most browsers seem not
>>> to clear the screen prior to rendering so if the next is mostly the
>>> same as the last it appears to have been partially updated.
>>>
>>> I'm not sure what you mean by "web sockets", I've used the kind of
>>> sockets provided by PHP but if you mean something else I've no clue
>>> what that might be.
>>
>> javascript does not shut down just because the page is finished
>> loading. The javascript makes a background request to a specialize "not
>> generating a web page, just feeding data" script on the server, then
>> updates its own document (that is, the rendered page) based on the new
>> data it receives.
>
> Pretty tough to implement when the user has chosen to disable js, but
> then I assume that one of the items on the agenda of those in control is
> to remove that choice from the idiot non-purchasing user's hands while
> working toward stealing from him if he is unwilling to give.

What are you on?

This absolutely incredible and stupid assumption that the only thing PHP
and web browsers are for is world wide marketing and information
dissemination?

Some of us are trying to write platform independent apps...for internal use.

Are we not allowed to use PHP?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simplexml adding 'encoding' attribute to xml declaration
Next Topic: strtotime() not able to handle 04/29 correctly???
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 05:45:36 GMT 2024

Total time taken to generate the page: 0.04838 seconds