retrieving the cookies in C