News | Forum | People | FAQ | Links | Search | Register | Log in
Site Help
This is the forum to ask questions about this website, report things that are broken, request features, etc.

Be sure to check out the FAQ as well.
First | Previous | Next | Last
Yeah, Opera Rocks 
All the recent double posts make me wonder if some browser stopped warning on resending post data on a refresh.

Opera does not seem to resend at all which of course is desirable.

Let's see: 
Hurr 
durr 
 
I am a good browser, I prompt. 
Herp 
derp 
 
I behave like Opera, not resending, not prompting. 
And This Concludes Our Scientific Experiment 
The conclusion is that people are using Internet Explorer 4.0

Weird. Make gamma rays or moon phases? 
Nope 
As I stated before, Chrome. 
 
that was chrome, but it prompted first. don't know why i clicked yes 
Feature Request 
metl, could you make an anchor in view_thread.php right after the top-most pagination before the first rendered post? And then point to that in "New X" links.

Would save at least 42 milliseconds of scrolling whenever one visits posts with long main posts. ;) 
Test 
Test 
Test In Chrome 
Test in Chrome 
 
So Firefox (and every other browser once upon a time) lets you refresh without posting, Chrome offers to resubmit the form. I'm not sure why it offers that, since i use a redirect to help clear out the form data (so that people can refresh the page without worries.) Chrome is just too clever; I guess i'll need to find another way. 
 
It's amazing and sad how many people seem to click yes without thinking though. I hope they don't do that for java applets. 
One Common Solution 
Is to store a magic value in the session and in a hidden form field. On submit, the session value is removed. If the session value is missing, nothing gets posted. 
Missing Or A Mismatch 
That is. 
 
Or manually kill the $POST vars after submission maybe.... ? 
 
It's amazing and sad how many people seem to click yes without thinking though. I hope they don't do that for java applets.
To be fair, that's what happens when too many things ask too many stupid questions. You condition people to click YES out of reflex. 
 
You may already have tried this, or already have this. But, try putting "exit;" after your header("Location: ") redirect. 
Error No 42 
Can't post anywhere 
But Here! 
 
Sleepwalkr 
not sure why it can happen, but this means you loaded the page with one IP address, but when you submitted your post you had a different IP.

Maybe it happens on mobile phones more because they can change networks frequently? (edge <-> 3g <-> wifi) 
Okay 
I understand. I'm at home where I'm in my wifi, but sometimes it switches to mobile broadband for some reason. Thanks! 
Deqer: 
i can see how that might help, as my php still generates the entire page after you post.

I wonder if chrome is ignoring the redirect because it's the same URL? In that case i could use a second URL as the post target and then redirect back to view_thread.php. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.