We got the above code to work perfectly, but we are confused about the order the script performs the functions and we wish to understand it. The first function says we are retrieving the cookie, the second says we are adding to the cookie, the third says create the cookie, and the fourth says we are sending the cookie to the browser. To all of us, this does not make sense. How can it retrieve a cookie when it has not been created yet until further down? Does this help in what we are asking? Thank you....