Why is no random number number added into the guest name that has been registered?
Q: There is some strange thing since upgrade into version 7.0,when I entered a chat room with a nick name which has been registered, there is no random number added after it just as it always does.
A: Since version 7.0,we have been using database(embeded one or your Mysql) to store 123 Flash Chat member information,and if we try to check every guest nick name to see if it has been registered,it will add the database work load.So we make a opetion in server.xml as "<duplicate-name-check-from-db enable="Off"></duplicate-name-check-from-db>".If you put it from "off" into "on",it will check the guest name to see if it has been registered,and if it has,123 Flash Chat will add a random number into it to avoid the duplication and confusion.
PS: you will need to restart 123 Flash Chat to make your change in server.xml effective.
Key Words: random number; registered nickname; guest
|