I'm having a cookie problem. It's not really a Cake problem, but the URL structure of cake seems to be causing it. I'm running an application in a subdirectory, so URL's look like http://mydomain.com/app_dir/controller/action. My application has two states, logged-in and logged-out.
The server lets the application know what state it is in by setting a cookie, login="0" or login="1". Initially I was not setting the cookie path, and what happened is two cookies were created, cookie-path=/app_dir/controller and cookie-path=/app_dir/controller/action. Since they had different values, "0" or "1" this caused problems. So I tried setting the cookies to the path "/". This didn't work either. This time the cookies were created with either path=/ or path=/app_dir. BTW, Firefox was great for figuring out what happened. Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---