tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nigel Lui" <>
Subject Setting cookies in my RequestInterceptor
Date Fri, 21 Apr 2000 00:42:10 GMT

I implemented a class that extends BaseInterceptor, and register it
in my server.xml as:
<RequestInterceptor className="com.stdinfo.tomcat.SecurityCheck" />

In the class above, I override the method
public int authenticate( Request request, Response response )
Inside that method, I tried to set cookies thru the interface Response by

The problem is my cookie never get to my browser cause the headers are
resetted by the method reset() in the class

Am I not doing it right, or is there a way to get around it?


-- nl

View raw message