Skip to content

Commit

Permalink
Added hidden input form to survey_mover function so that the PHPSESSI…
Browse files Browse the repository at this point in the history
…D is always carried with the page as a $_POST variable - I think this may solve the problem for visitors with cookies turned off.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1047 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 26, 2004
1 parent 9c593f5 commit 120865d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Expand Up @@ -237,7 +237,6 @@
//DELETE COOKIE (allow to use multiple times)
setcookie("$cookiename", "INCOMPLETE", time()-120);
//echo "Reset Cookie!";

}

sendcacheheaders();
Expand Down Expand Up @@ -1229,6 +1228,7 @@ function surveymover()
$surveymover .= "\t\t\t\t\t<input class='submit' type='submit' value=' "
. _SUBMIT." ' name='move' />\n";
}
return $surveymover;
$surveymover .= "<input type='hidden' name='PHPSESSID' value='".session_id()."'>\n";
return $surveymover;
}
?>

0 comments on commit 120865d

Please sign in to comment.