Forum Moderators: coopster
Is that even possible? Any help/guidance would be much appreciated.
Thanks
[edited by: dreamcatcher at 2:40 pm (utc) on Aug. 17, 2007]
[edit reason] Use example.com, thanks. [/edit]
www.example.com
<?
$page[0] = "example.com";
$_SESSION['page'] = $page;
?>
www.example2.com
<?
$page = $_SESSION['page']; //gets session array
$page[1] = "example2.com"; //adds another element
$_SESSION['page'] = $page; //updates session
?>
www.example3.com
<?
$page = $_SESSION['page']; //gets session array
$page[2] = "example3.com"; //adds another element
$_SESSION['page'] = $page; //updates session
?>
...actualy you may need to find the lenght of the $page array before adding new elements to it...not sure though, this may work.