Web サイトでプライベート チャット モジュールを作成しようとしています。しかし、他のユーザーのセッションを取得できません。誰でもこれについて私を助けることができますか?
コードは次のとおりです。
$url1 = 'onclick="window.open(\'../chat/index.php?do=chat&room_owner='.$uname.'&user='.$_SESSION['uname']['username'].'\',\'pop_up\',\'toolbar=no, top=0,location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=600, height=450\')"';
$image_path = "images/online.png";
$status = 'Online';
1st user(me): ?do=chat&room_owner='.$uname.' >this is working
2nd user(recipient): &user='.$_SESSION['uname']['username'].' > this is not working?