when client open www page then to this client is assigned session
for example i want to copy some values from another session
my session is sess_x1
my friend session is sess_x2
in sessiion sess_x2 present values like array_name[1] = x;
i try to copy array_name[1].value to my session
maybe this sounds very stupid but task is to copy some (not all)
known to me values from another session
at this moment i do this next:
session_write_close();
session_start();
if ( reason )
{
session_write_close();
session_id(known id to me);
session_start();
$necessary_data = $_SESSION['mdat'];
}
session_write_close();
session_id($oldsession);
session_start();
$_SESSION[''] = $necessary_data;
thanks