Are you sure that the cookie is actually being sent to the browser? Try Mozilla and look under the tasks->privacy & security -> cookie manager and check that the cookie and the cookie date is what you are setting it to be.
-Aaron ----- Original Message ----- From: "Costas Malamas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 4:42 PM 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 > > > > > >From: Geoffrey Talvola <[EMAIL PROTECTED]> > >To: 'Costas Malamas' <[EMAIL PROTECTED]>, > >[EMAIL PROTECTED] > >Subject: RE: [Webware-discuss] Detecting cookies problem > >Date: Tue, 15 Jan 2002 10:02:14 -0500 > > > > > -----Original Message----- > > > From: Costas Malamas [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, January 15, 2002 4:28 AM > > > To: [EMAIL PROTECTED] > > > Subject: [Webware-discuss] Detecting cookies problem > > > > > > > > > > > > I am experiencing this problem with detecting cookies: when > > > I start a new > > > browser session (i.e. close IE down completely, and start a > > > new fresh one), > > > Webware doesn't seem to be finding its own cookies on my > > > machine. However, > > > if I reset the cookie, everything's fine. I am using: > > > if self.transaction().request().hasCookie('username'): > > > myuser = self.transaction().request().Cracker('username') > > > > > > and this is on W2K; I've replicated the problem with IE6 and > > > Mozilla 0.9.5+ > > > (CVS after 0.9.5, before 0.9.6). Any ideas? > > > > > > Thanks, > > > > > > Costas > > > >Have you tried the method described here: > >http://webware.colorstudy.net/twiki/bin/view/Webware/SettingPermanentCookies > >? It works for me. > > > >-- > > > >- Geoff Talvola > > [EMAIL PROTECTED] > > > >_______________________________________________ > >Webware-discuss mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/webware-discuss > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
