2009/1/21 Greg Burrow <gregbur...@gmail.com>:
>
> My expectation was that the same session would be used by App2 after
> the redirect.  The javadoc for HttpServletResponse. encodeRedirectURL
> looks clear that it should retain the session either by cookies or by
> URL rewriting.
>
>>
>> I do not understand, what are you expecting?
>>
>> Note, that according to the spec you cannot share a session between
>> different web applications. That is, session ID can be the same, but
>> the session object is different.
>>

You should read chapter SRV.7.3 of the Servlet specification.

Best regards,
Konstantin Kolinko

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

Reply via email to