I think you have the wrong idea as to what I mean. A sample would be better.
<? php
session_start();
...
print "<form action=\"$PHP_SELF?PHPSESSID=$PHPSESSID\" method=\"post\">
...
?>
this is what I want to do, but when they first open the browser $PHPSESSID is empty, and after I call session_start it is STILL empty. so it ends up post the form to $PHP_SELF?PHPSESSID= and this doesn't help because I loose my registered variable. However, if I then hit refresh, it will put the actual numbers in for the session id. (but only the second time the page is viewed)