Chapter4 --added new cookie hashing mechanism.