use the
Header("Location: vote-and-change.php4?" . SID);
function, this one takes you to the vote-and-change.php4 page (including the session id) only thing you need to take care of, you can't send any output to the browser before the header statement, but if you only want to put data in a db you don't need any output ..
cya Rob