I just re-installed the examples to try and verify if something wierd is
going on. In the sessions example, when I view with Mozilla or Galeon
the shopping cart does not remember the last entry. I get no prompt for
a cookie. (I know it is not the browsers because plenty of other sites
have no problem setting cookies)...
But when I use lynx the cookies are set and the cart works properly. I
am not sure what is going on, but this appears to be some sort of bug.
Surely, others have had this same experience. Anyone out there using
Mozilla??? Should I submit this as a bug?
On 18 Jul 2001 15:53:39 -0700, manybooby wrote:
> I just tried to login with lynx and I was startled to discover a prompt
> to set a cookie. This is odd because whenever I try the same thing with
> either galeon or mozilla (with the cookie setting to recieve all) no
> cookie is set... Not sure what is going on.
>
> Any ideas?
>
> On 18 Jul 2001 10:06:08 -0700, manybooby wrote:
> > I am having some trouble with JDBCRealm. It loads correctly but any
> > attempt I make to login is greeted with this message on the console.
> >
> > 2001-07-18 09:59:15 - Ctx( ): From login without a session
> >
> > I assumed this means I have a problem with my session and cookies. I am
> > testing all of this with Galeon and Mozilla so I turned off the cookie
> > manager and allowed all cookies. No luck.
> >
> > Then I wrote a test servlet with this snippet...
> >
> > HttpSession session = request.getSession(true);
> > session.setAttribute("testObject",testObject);
> > if(session.isNew()){
> > System.out.println("User hasn't set a cookie");
> > }
> >
> > Still no luck. So I wrote this...
> >
> > Cookie test = new Cookie("test", "testy");
> > test.setComment("testies");
> > response.addCookie(test);
> >
> > Nothing works. I don't get any prompt for a cookie and neither of my
> > browsers has any mention of a cookie.
> >
> > I'm running tomcat3.2 on localhost:8080 with no apache and my
> > server.xml...
> >
> > <RequestInterceptor
> > className="org.apache.tomcat.request.SessionInterceptor"
> > noCookies="false" />
> >
> > Any Ideas???!!!
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com