Whats wrong with using the Cookie getName() method?
Fes D Gaur
Joined: Apr 29, 2005
Using the Cookie getName() is fine. But do I have to iterate through all the cookies and use an if equals to cookie name logic to get the cookie that I want? Or can I use the getName() method to get the value of the cookie that I want directly?
Could you please write a little piece of code that retrieves a cookie by using the Cookie's name.