-
1. Re: Session cookie path in AS 7
anonym365451 Jun 30, 2011 8:48 AM (in response to Scott Guilbeaux)try to reinstall Firefox 5.
Have a look at my thread (similar problem with Richfaces on Weblogic Server):
-
2. Re: Session cookie path in AS 7
Remy Maucherat Jun 30, 2011 9:09 AM (in response to Scott Guilbeaux)Set system property org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR to false. Or use the most accomodating behaviors: system property org.apache.catalina.STRICT_SERVLET_COMPLIANCE to false.
-
3. Re: Session cookie path in AS 7
Scott Guilbeaux Jun 30, 2011 11:16 AM (in response to Scott Guilbeaux)Thank you for the replies. Setting org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR to false indeed fixes the problem I was having with certain browsers.
-
4. Re: Session cookie path in AS 7
Benjamin Browning Jul 14, 2011 7:50 AM (in response to Remy Maucherat)Is there a reason one of these properties aren't set by default? The current behavior breaks cookie-based sessions in Firefox 5, IE 9, curl, and maybe others.
-
5. Re: Session cookie path in AS 7
Matt Steedle Jul 15, 2011 9:25 AM (in response to Scott Guilbeaux)Where do you set org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR to false. Is there a file I do this or is it an environment variable?
-
6. Re: Session cookie path in AS 7
jaikiran pai Jul 15, 2011 10:22 AM (in response to Matt Steedle)Matt Steedle wrote:
Where do you set org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR to false. Is there a file I do this or is it an environment variable?
https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-SystemProperties
-
7. Re: Session cookie path in AS 7
Matt Steedle Jul 15, 2011 1:23 PM (in response to jaikiran pai)where in standalone.xml do I put this? Like can you show me an example of how I would do this.
Thanks
-
8. Re: Session cookie path in AS 7
Jim Crossley Jul 15, 2011 3:05 PM (in response to Matt Steedle)Hi Matt. Put it right after the <extensions> element, like this (line 35): https://gist.github.com/1085307
-
9. Re: Session cookie path in AS 7
cchx Jul 19, 2011 3:02 AM (in response to Benjamin Browning)Well, you could say that regarding the spec is the recommended way to write code. On the other hand, it took me about two days to find the cause for this problem.
It would have been nice, if this issue would have been marked very, very large on the migration guide: https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7
I'm pretty astound, that only so few people ran into this problem...
-
-
11. Re: Session cookie path in AS 7
Xiwen Luo Jan 4, 2012 9:57 PM (in response to Scott Guilbeaux)we have set Set system property org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR to false and it works.
However when we put jboss7 behind the amazon ec2 load balancer, the problem comes again
is there anyone know this ?
-
12. Re: Session cookie path in AS 7
Phanor Coll Nov 7, 2012 4:25 PM (in response to Xiwen Luo)i added
[code]
<system-properties>
<property name="org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR" value="false"/>
</system-properties>
[/code]
after </extensions> but it still doesnt work..