About the functions of cookies