This is something that puzzles me. Some times when I visit a site and fill in a form, the server hangs, I hit back, and my browsers kept it, however sometimes it's a blank form (which is really annoying when you typed a long bloody post!!). I think if the page is made not to cache, it will request another, and therefore be blank.
If your varialbes are in a session, I think you should be able to use:
echo "<INPUT TYPE=\"TEXT\" NAME=\"name\" VALUE=\"$name\">";
or if it's not in a php line:
<INPUT TYPE="TEXT" NAME="name" VALUE="<?php echo $name; ?>">
Hope that helps. If I got your problem wrong, it probably won't help!
Danny