What you are doing there doesn't really make sense. The idea with sessions is you have to register any session variables explicitly.
The basic thing with sessions is:
<?
session_start(); //as you've done
$ var = //however you want to assign this variable.
session_register("$var");
//Go to page2.php
?>
The whole point with sessions is it manages state between pages or over a period of time. Therefore you would only access the session variable $var on a subsequent page.
As such on the next page you could call the variable registered on the previous page as:
Page2.php
<?
$var = HTTP_SESSION_VARS["$var"];
//use as you need to
?>
There are some good articles on this site under the tutorial sections about sessions - have a look at some of them
Dan