Cookies are used to store a variety of shared state information between your browser and a web server. The most common use for cookies is to maintain your session state, since HTTP in itself is a stateless protocol.
Continue reading Session Cookie HTTPOnly Flag – Java, .NET Rails 3 and Coldfusion