[seam-issues] [JBoss JIRA] Commented: (JBSEAM-3018) Tomcat appending jsessionid to URLs breaks page fragment cache
Brett Cave (JIRA)
jira-events at lists.jboss.org
Fri May 7 04:26:05 EDT 2010
[ https://jira.jboss.org/jira/browse/JBSEAM-3018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12529541#action_12529541 ]
Brett Cave commented on JBSEAM-3018:
------------------------------------
We are using Tuckey urlrewrite-3.2
web.xml:
<filter>
<filter-name>UrlRewriteFilter</filter-name>
<filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>UrlRewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
urlrewrite.xml
<!-- remove jsessionids for crawlers -->
<outbound-rule enabled="true" encodefirst="true">
<name>Strip URL Session IDs</name>
<from>^(.*);jsessionid=(.*)$</from>
<to>$1</to>
</outbound-rule>
> Tomcat appending jsessionid to URLs breaks page fragment cache
> --------------------------------------------------------------
>
> Key: JBSEAM-3018
> URL: https://jira.jboss.org/jira/browse/JBSEAM-3018
> Project: Seam
> Issue Type: Task
> Components: JSF Integration
> Reporter: Christian Bauer
> Priority: Critical
>
> Tomcat/JSF encodes URLs and, even if cookies are enabled, sometimes appends a JSESSIONID parameter. If you request a page fragment, your session id is encoded into the rendered URLs. If I then later retrieve that fragment from the cache, I get your session. This is a critical issue, I'll look for a workaround, if that's not possible, we need to document it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list