On 2011-08-03 15:42 -0700, webpybuntu wrote: > Thank you for your reply. My application requires cookies. All I want > to do is display an appropriate message if the user doesn't have > cookies enabled.
I'd hate to repeat the whole story again: > > 1. Browser > Server "Hello!" > > 2. Browser < Server "Hi, man. How about a cookie?" (cookie attacked) > > > > 3. Browser > Server "I need some things." > > 4. Browser < Server "Hm, you don't seem to have the cookie on you..." Point is, you DON'T check if the browser has cookies enabled (at least not from server-side). You check if it HAS the cookie that was SUPPOSED to be set. -- Branko Vukelic [email protected] [email protected] Lead Developer Herd Hound (tm) - Travel that doesn't bite www.herdhound.com Love coffee? You might love Loveffee, too. loveffee.appspot.com -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
