Hello,
Im trying to do a external registration/login system to phpfreechat, and i was thinking to do that using something like $params["nick"] = $_SESSION["nickname"]; , however it happens that once the nickname is set, it will stay for that computer/browser no matter what i do.
example:
i upload to the server for the first time the php with the the parameter $params["nick"] = "user1";
i enter the chat and im user1, then i close the window, wait 30 seconds, i change in the php the nick to $params["nick"] = "newuser"; then i go to the chat again, and im still user1!
it doesnt matter if i clear the cache/cookies, or do /rehash , its always stays as "user1".
i tryed everything i could, how can i solve this?