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

Reply via email to