My php.ini is configured to generate 32 character long session ids with following settings:
session.entropy_file = /dev/urandom
session.entropy_length = 512
session.hash_function = 1
session.hash_bits_per_character = 5
Thus the string should always be 32 characters long. Is char(32) the most appropriate column type to use if I will be using this column in where statements and having an index on it? Any other best practices I should be aware of?
Thanks