WampConnection classes use uniqid() to generate an identifier that is later used by the user. This function gives fairly predictable strings (there's even a warning on the official PHP docs) and shouldn't be used for this purpose.
Preferably session identifiers would be generated using something like openssl_random_pseudo_bytes or another safer PRNG.
WampConnection classes use
uniqid()to generate an identifier that is later used by the user. This function gives fairly predictable strings (there's even a warning on the official PHP docs) and shouldn't be used for this purpose.Preferably session identifiers would be generated using something like
openssl_random_pseudo_bytesor another safer PRNG.