> -----Original Message----- > From: Costas Malamas [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 15, 2002 11:43 AM > To: Geoffrey Talvola; [EMAIL PROTECTED] > Subject: RE: [Webware-discuss] Detecting cookies problem (Still) > > > > I think you misunderstood me; I have no trouble setting the > cookie; I have > trouble detecting it the second time around. > > Let me make this more clear (reading back on my post, I can see why I > confused you): > 1. I set the cookie using the Wiki recipe > 2. User closes browser > 3. User opens new browser, hits WK page > 4. WK asks for the cookie, with > self.transaction().request().hasCookie(). > WK gets a FALSE answer, so it doesn't do anything. > 5. User hits the special 'login' page to login, which, just > in case, asks > for the cookie again using the exact same code as (4) > (actually calls the > same function). WK gets a TRUE answer this time. > > What gives? As I said, I have replicated this with both IE > and Mozilla (on > Win2K), fearing that it had something to do with IE6's cookie > code, but no > go. > > Ideas? > > Costas
Hmmm. If you repeat step 4 several times, does it repeatedly fail (indicating that the problem is specific to the servlet in step 4) or does it work the second time (indicating that the problem only happens on the first request, regardless of which servlet)? If you could package this up into a small example that I could drop into my Webware installation and reproduce the problem, that would help. -- - Geoff Talvola [EMAIL PROTECTED] _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
