hi there a way of passing session variable between each other, or have missed the point about session.
Basically i want to othe following
-- php file 1 --
<?
// creates a session with name 1 and allocates the name bob into a session variable called $name.
session_name('1');
session_start();
$name="BOB";
session_register('name');
?>
-- php file 2 --
<?
//starts the session '1', allocates the session variable to a local variable called sessname, then session '1' is distroyed. A new session is started and sessname is stored as a session variable.
session_start('1');
echo "<br>session Name : $name";
$sessname=$name;
session_destroy('1');
session_start();
session_register('sessname');
?>
-- php file 3 ---
// simply starts the session and outputs the concents of the session variable sessname.
<?
session_start();
echo ("session Name : $sessname");
session_destroy();
?>
any thought, have not got it working as yet.
Sunit