|
This should do the trick.
<html>
<head>
<script type="text/JavaScript">
</script>
</head>
<body onload="JavaScript:setRefresh(60000);">
</body>
</html>
|
|
|
|
|
I know how to do it, my point being it is much simpler with a simple meta call.
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
Dalek Dave wrote: If it is bad practice, how else would I do this?
you do it with AJAX. you make Javascript xhttp calls to your server to get the updated sections of your page (either HTML itself or the raw data which you then format with Javascript on the client).
the page itself never refreshes, but its content does.
|
|
|
|
|
Thanks Chris.
It is a poor day when you learn nothing
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
I think you just broke rule #2 of the lounge!
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
It is not really a programming question, merely wondering why a certain function is regarded as bad.
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
Well, I guess I could give you the benefit of the doubt... But they sure looked like programming questions to me
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
Pure sophistry!
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
I would prefer "Elegant Verbal Sophistication".
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
OriginalGriff wrote: Pure sophistry! But, how rare to find someone who can distill the "pure" stuff, the attar with the true top-note of efflorescent godwottery, in this era of dumb-down, additives, botox, preservatives, imitation flavours, liposuction, and organ-transplant bingo games run by the Sisters of St. Surplus !
best, Bill
"Every two days we create as much information as we did from the dawn of civilization up until 2003". Eric Schmidt of Google.
|
|
|
|
|
You forgot permitted colourants and MSG...
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Oh Mammy!
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
You can use jquery to call a webservice via ajax, and paint the container with fresh data every minute using a jquery or javascript timer.
When the new data is received, parsed and html is built, just do a update to the container in 1 line of code. If the data doesn't change, abort the update.
|
|
|
|
|
Hi everyone.
I'm writing some kind of transparent proxy server in C#.
The code works without any problem and does what it have to do, but I am really confused about the Connection and Proxy-Connection headers in requests!
As everyone knows, the Proxy-Connection is not an standard header and only signals the proxy server to keep the connection open and so,
I remove this header form the request
and forward the request after removal, but here is an unclear role form W3:
HTTP/1.1 proxies MUST parse the Connection header field before a message is forwarded and, for each connection-token in this field, remove any header field(s) from the message with the same name as the connection-token.
As W3 does not count the Proxy-Connection in the standard headers and suggests to use the Connection header instead, should I remove that header form the request before I forward it or not?
Right now I am doing it but I want to make sure if I must or must not do it.
No one?!
Sojaner!
modified 26-Feb-12 7:11am.
|
|
|
|
|
I do not see it listed in the menus.
Chris J
www.redash.org
|
|
|
|
|
|
Looks like mine have mostly been moved to Linux, Apache, Perl, Python (Forum)....
If they are gonna merge the forums, least they could do is add a ", PHP too! oh my!", to it.
-- edit ---
or just call it the lamp stack and we can assume our favorite 'P'
Chris J
www.redash.org
|
|
|
|
|
Didn't you get the email? Sorry: bad news, I'm afraid; php has been deprecated: you'll have to use VB.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
That sir is a sad and cruel jest. Why not just force aspx on me too while I'm down!
Chris J
www.redash.org
|
|
|
|
|
cjoki wrote: Why not just force aspx on me too while I'm down!
Harsh, very harsh.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Chris J
www.redash.org
|
|
|
|
|
Maybe atmosphere of the PHP forum is very low, so merge to the other forum.
I'm feel a little sad,at least I think PHP is a very nice tech
|
|
|
|
|
Want to implement ecommerce web site how to in about
|
|
|
|
|
See this[^] as a good starting point solution (not free).
Try this link[^] as well.
|
|
|
|
|