Thank you P for the response. I admit I don't 100% understand what you mean by
"Sounds like the session isn't being maintained in between requests."
Is this something that I'm doing wrong? Or is this something outside
of my control?

The strange thing is that this very same code works just fine and is
able to interact with the session just fine when the url-pattern is
/jsp/*. However as soon as the pattern is changed to /* the session
becomes unusable.

Rudy




On Wed, Sep 14, 2011 at 1:43 AM, Pid <p...@pidster.com> wrote:
> On 13/09/2011 23:35, Rudy Gireyev wrote:
>> If I change the url-pattern to /* then the user is authenticated each
>> and every time the application is accessed and the
>> request.getRemoteUser() is then set to that user name. But then I
>> cannot store anything in the session of the application. When I do
>> request.getSession(false).setAttribute("oy", vey); the session is not
>> updated and doing the request.getSession(false).getAttribute("oy")
>> returns null.
>
> Sounds like the session isn't being maintained in between requests.
>
>
> p
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to