diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-23 06:34:33 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-23 06:34:33 +0000 |
commit | bf55e5144004be26ec533de7ace57840329142e8 (patch) | |
tree | eba1f6c517d1508a34a46eab9261469b818ba272 | |
parent | 5301858c1772debf4eff3f70ba589a9435b1516c (diff) | |
download | sariulclocks-bf55e5144004be26ec533de7ace57840329142e8.tar.gz |
comment: PGR not an option atm
-rw-r--r-- | src/sariulccgi.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sariulccgi.hs b/src/sariulccgi.hs index e89a940..dab96b1 100644 --- a/src/sariulccgi.hs +++ b/src/sariulccgi.hs @@ -162,7 +162,12 @@ cgiMain = do 1 -> CountUpClock } when passwordPasses $ modifyScores (updateScore (fromJust cookieClass) points timeWasted) - -- TODO: use POST,REDIRECT,GET https://stackoverflow.com/questions/570015/how-do-i-reload-a-page-without-a-postdata-warning-in-javascript/570069#570069 + -- It would be good to use POST,REDIRECT,GET + -- <http://stackoverflow.com/a/570069> here. However, you can't + -- reliably set cookies during a 302 redirect: a lot of browsers + -- cough on it. So we'd have to change lots of things about our + -- application to make this work. + selfURL <- liftM uriPath requestURI page <- makePage |