Cookies could become the ticket to success of a great JavaScript application. When cookies are properly defined, the application is stable and users will feel more secure because of the active monitoring and recording of the application. JavaScript would be able to seamlessly provide personalized services to users since cookies were already stored. But as much as JavaScript cookies could be the tool for an effective Ajax based application, this could also be a ticket to disaster. If cookies are not properly used in the application, developers might build an application that are very susceptive to different form of attack. JavaScript cookies are one of the small things that