Here's one way...
You can also use $HTTP_SESSION_VARS but that's only needed for anything less than 4.1.x I think.
Best,
Matthew Kurowski
******* page1.php ***********
<?php
session_start();
$SESSION[CONTACT_ID] = "2";
$SESSION[CONTACT_NAME] = "Matthew Kurowski";
$_SESSION[CONTACT_RATING] = "This dude rocks!";
echo "<a href=\"page2.php\">Who rocks?</a>"
?>
******* page2.php ***********
<?php
session_start();
if(isset($SESSION[CONTACT_ID])){
echo $SESSION[CONTACT_NAME]." <b>ROCKS!</B>";
}else
echo "We have no friends...nothing...we are losers...:-(";
?>
Phil wrote:
Sorry, dont quite understand what your saying. Id's ?
I have 4 arrays full of data:
$one();
$two();
$three();
$four();
ive already tried to make them global using:
$bob = $one;
session_register("bob");
but i still cannot retrieve the contents of $bob in another page.
i'm going slightly mad...