i'm making a wizard-type series of pages. the first page gathers and validates data and redirects on success to page 2 which gathers more data, etc. i'm storing the data from page 1 in a session variable so that i can get it on subsequent pages.
if i do this on page 1
session_start();
$_SESSION['reg_data'] = serialize($foo);
header("Location: page2.php");
how long is that session value there? will it still be there until i unset it? if the user navigates to other pages, will it still be defined?