Hi !
I'm using your scripts right now and it works fine ! Just a small question though .....
I have seen that the nickname is stored in a session variable, initialised the first time a user gives his nick (through $params or dialog box).
However, I would like to be able to change that nick through a GET parameter :
<-- Beginning of my index.php script -->
session_start();
if (isset($_GET['Id']) and $_GET['Id'] != '' )
$_SESSION["Nick"] = htmlspecialchars( $_GET['Id'] );
if( isset($_SESSION["Nick"]) and $_SESSION["Nick"] != '')
$params["nick"] = $_SESSION["Nick"];
else
$params["nick"] = "guest".rand(1,1000);
Now, if I reload the page with another Id (say index.php?Id=foo ), the old one is still in use ..... I don't want to bother my users with /nick and other commands, so is it possible to "clear" the session data ? Or just force a nick change ?
Thank you !