Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #5013
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "J.O. Aho" <user@example.net> |
| Newsgroups | comp.lang.php |
| Subject | Re: Is there a way to distinguish an auto-refresh from a manual page load? |
| Date | Sun, 26 Feb 2012 19:40:26 +0100 |
| Lines | 38 |
| Message-ID | <9qvckqFj81U1@mid.individual.net> (permalink) |
| References | <ji3q32$l8d$1@news.albasani.net> <ji80fo$h1n$1@dont-email.me> <ji8369$kt8$1@news.albasani.net> <0YGdnbY4GoEdR9XSnZ2dnUVZ_sydnZ2d@cablespeedmi.com> <jib5b4$est$1@dont-email.me> <jicqkr0vkb@news1.newsguy.com> <jid8bg$lbu$1@news.albasani.net> <jidses0ff8@news3.newsguy.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net XhZKgAPLd39cIGtB3ybhPQ3tQNPh6k6HGMfyvhiHwR0mENkcfP |
| Cancel-Lock | sha1:9m72997WNdBQm+Sm6KibzKbJh4Q= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120217 Firefox/10.0.1 SeaMonkey/2.7.1 |
| In-Reply-To | <jidses0ff8@news3.newsguy.com> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.php:5013 |
Show key headers only | View raw
crankypuss wrote: > On 02/26/2012 05:25 AM, The Natural Philosopher wrote: >> It occurs to me if I do refresh under Javashite I can always hand set a >> variable to say 'ignore the post variables, if they happen to be set' >> >> BUT I have to say I am attracted to playing with web sockets sim0ply >> because its new and a bit of a challenge. That avoids the need to >> refresh the page ...at all. > > 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. Ajax runs in the "background", making a request in intervals and update the correct section of the page when there is something to update, a simple way to see this is to use something like firebug and see what connections are made after the page has been loaded. > 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. Web sockets has been introduced with html 5 (and there are a few diffe3rent standards too), which allows the server to push content to the browser instead of using ajax which pulls information from the server. -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is there a way to distinguish an auto-refresh from a manual page load? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-22 22:26 +0000
Re: Is there a way to distinguish an auto-refresh from a manual page load? Scott Johnson <noonehome@chalupasworld.com> - 2012-02-22 16:27 -0800
Re: Is there a way to distinguish an auto-refresh from a manual page load? Jerry Stuckle <jstucklex@attglobal.net> - 2012-02-22 22:49 -0500
Re: Is there a way to distinguish an auto-refresh from a manual page load? "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-02-24 13:40 +0100
Re: Is there a way to distinguish an auto-refresh from a manual page load? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-24 13:26 +0000
Re: Is there a way to distinguish an auto-refresh from a manual page load? bill <nobody@spamcop.net> - 2012-02-25 07:56 -0500
Re: Is there a way to distinguish an auto-refresh from a manual page load? "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2012-02-25 17:21 +0000
Re: Is there a way to distinguish an auto-refresh from a manual page load? crankypuss <no@email.thanks> - 2012-02-26 01:31 -0700
Re: Is there a way to distinguish an auto-refresh from a manual page load? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-26 12:25 +0000
Re: Is there a way to distinguish an auto-refresh from a manual page load? crankypuss <no@email.thanks> - 2012-02-26 11:08 -0700
Re: Is there a way to distinguish an auto-refresh from a manual page load? "J.O. Aho" <user@example.net> - 2012-02-26 19:40 +0100
Re: Is there a way to distinguish an auto-refresh from a manual page load? crankypuss <no@email.thanks> - 2012-02-26 13:06 -0700
Re: Is there a way to distinguish an auto-refresh from a manual page load? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-26 21:12 +0000
Re: Is there a way to distinguish an auto-refresh from a manual page load? "Peter H. Coffin" <hellsop@ninehells.com> - 2012-02-26 12:44 -0600
Re: Is there a way to distinguish an auto-refresh from a manual page load? crankypuss <no@email.thanks> - 2012-02-26 13:09 -0700
Re: Is there a way to distinguish an auto-refresh from a manual page load? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-26 21:14 +0000
Re: Is there a way to distinguish an auto-refresh from a manual page load? crankypuss <no@email.thanks> - 2012-02-27 04:02 -0700
Re: Is there a way to distinguish an auto-refresh from a manual page load? "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-02-27 10:22 +0100
Re: Is there a way to distinguish an auto-refresh from a manual page load? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-27 12:00 +0000
Re: Is there a way to distinguish an auto-refresh from a manual page load? "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-02-27 14:08 +0100
Re: Is there a way to distinguish an auto-refresh from a manual page load? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-27 14:12 +0000
Re: Is there a way to distinguish an auto-refresh from a manual page load? "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-02-27 17:18 +0100
Re: Is there a way to distinguish an auto-refresh from a manual page load? Jerry Stuckle <jstucklex@attglobal.net> - 2012-02-27 11:59 -0500
csiph-web