Results 1 to 4 of 4
Thread: No-Refresh Links
Jun 29, 2004, 20:44 #1
This is an article discussion thread for discussing the SitePoint article, "No-Refresh Links"
Jun 29, 2004, 20:44 #2
- Join Date
- Jun 2004
- Durham, NC USA
- 0 Post(s)
- 0 Thread(s)
This looks like the answer I am looking for, but both the link code and the form code return an 404 error and not a 204 error. The link 204.php, just seems to tell the browser to go to 204.php...not call a 204 header code. I've tried both types of headers. I can get the 204 no call header to work (i.e. when I refresh, nothing changes - but I can't get 204.php to call that header). Any thoughts?
Dec 20, 2004, 21:41 #3RyanSitePoint Community Guest
This solved my problem. For ColdFusion the syntax is this:
<cfheader statuscode="204" statustext="No Content">
Feb 15, 2005, 20:07 #4MarkSitePoint Community Guest
Sometimes firefox will make the browser completly white when it receives a 204 No Content response.
Another option (best used in conjunction with the 204 response) is to make a request in such a way that the browser won't care if no response is returned. Instead of doing location.assign(url) or location = url, try:
var img = new Image();
where url is some request string like 'update.php?id=5&new_state=closed'