I'm finding a problem where my cookies are apparently being set to
null I arrive at a page via a rewrite rule. To be clear, I'm not even
sure this a problem with UrlRewriteFilter or my limited understanding
of cookies. Anyway, I'm currently using UrlRewriteFilter 3.2.0 beta
on Tomcat 6.0.18 and my rule appears below:
<rule>
<note>redirect /main to the edit action on tsf pagefilter</
note>
<from>/main/</from>
<to>/servlet/Controller?action=10000&target=500</to>
</rule>
The forward appears to work, but for some reason I'm not receiving any
cookies. For example, when I go to:
http://localhost/myapp/servlet/Controller?action=10000&target=500
Everything works just fine, and when I debug the server side I see my
cookie "appsessionid" being set properly. However, when I go to:
http://localhost/myapp/main/
My cookies aren't being set. When I debug the app I can tell that my
querystring variables ('action' and 'target') are being properly set
but "appsessionid" is does not appear in my cookies collection. It's
very possible that my web browser isn't even sending the cookie, but
either way I don't know why this may be happening. Anybody have any
ideas? Many thanks in advance --Jim d