Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
Confirm Form Resubmission[Subject Thread] [Add Response]
M Winther wrote on Wed, Apr 25, 2012 09:53 AM UTC:
I get this "Confirm Form Resubmission" whenever I am working with a
preset and I try to back up with the browser. It never happened before. If I make an illegal move I get a message. But when I want to go back to the position I get "Confirm Form Resubmission". After confirmation I must press yet another button. This isn't good.
/Mats

🕸Fergus Duniho wrote on Wed, Apr 25, 2012 01:07 PM UTC:
I have also been getting an error when going back with the browser in Game
Courier. I thought it was something I had done in the header, but as I
commented out everything in the header that might be responsible, even
going so far as to use an empty header, I kept getting the error. After
signing in, though, I didn't get the error. It may be related to the code
that sets the cvpuser cookie at the very top of play.php. I'll look into
this more later.

🕸Fergus Duniho wrote on Wed, Apr 25, 2012 03:38 PM UTC:
The problem seems to have been caused by including session_start() in the
header part of the file (not to be confused with the HTML file called
header.php). Instead of taking that code out, I have enclosed it in a
conditional that checks whether the cookie is set and runs the code only if
the cookie is not set. Anytime you go back to the page with the back
button, the cookie should already be set, and it won't need to use
session_start() to get the value the cookie should be set to.

M Winther wrote on Wed, Apr 25, 2012 06:05 PM UTC:
Yes, now it works fine, thanks. But the Upload File function doesn't seem
to work. I only get a blank page with "File Upload Results" when I try to
upload a little gif-file.
/Mats

4 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.