Yes to both answers. Sessions are a way to store variables you want to be shared by all PHP scripts sharing the same session.
An example of session:
First, create a folder named "temp" on the directory you put this script.
file1.php
<?
session_save_path("temp");
session_start();
session_register("myvariable");
$myvariable = 1;
header("Location: file2.php");
?>
file2.php
<?
session_save_path("temp");
session_start();
echo "My variable is --->".$myvariable;
?>
Remember:
Whenever you want a script to share the session, put this BEFORE ANYTHING ELSE.
session_save_path("temp");
session_start();
Oh, and you can refer to the variables by $_SESSION["myvariable"], but only from PHP 4.1.2. and superior.
Also look here: (for more session stuff)
http://www.php.net/manual/en/ref.session.php
Hope it helps
fLIPIS