Location: PHPKode > scripts > sessionSharing > sessionsharing/p1.php
<?
require( "sessionShare.php" );

$HTTP_SESSION_VARS["mycart"] = array( array("Book of something",1,15),
									  array("Beer", 4, 1.12) );
$HTTP_SESSION_VARS["mymail"] = "hide@address.com";
$sh = new sessionShare();

$otherServer = "";		// put here "http://secure.server.com/"

//header( "Location: ".	"p2.php?".$sh->createTransmitString());
// or	
echo "<a href=".$otherServer."p2.php?".$sh->createTransmitString().">Go to secure site</a>";

?>
Return current item: sessionSharing