Table of Content:
- Why is Stateless a Problem?
- What We Need is Sessions and Persistence
- What We Need Are Cookies!
- But What is a Cookie?
- More Cookie Facts
- Write a Simple Cookie
- How to Retrieve the Cookie Value
- Conclusion
How does DMXzone.com remember who you are when you login? How does amazon know what you've bought? Cookies! No prior knowledge required, this tutorial will help you set and read cookies from your own sites using JavaScript on the client's machine. Now you can begin to add personalisation, by-pass log-in procedures by "remembering" users, welcome back visitors by the name they registered with - and all of those other sophisticated e-commerce functions that make your site stand out from the Geocities crowd.