[jboss-jira] [JBoss JIRA] (WFLY-3448) Session ID change with sub-directories using "/" context (virtual host)
David Cabillic (JIRA)
issues at jboss.org
Wed Jun 4 15:00:17 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973460#comment-12973460 ]
David Cabillic commented on WFLY-3448:
--------------------------------------
I used this in my jboss-web.xml :
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web xmlns="http://www.jboss.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_6_0.xsd" version="6.0">
<security-domain>myapp-security</security-domain>
<context-root>/</context-root>
<virtual-host>myapp</virtual-host>
</jboss-web>
{code}
> Session ID change with sub-directories using "/" context (virtual host)
> -----------------------------------------------------------------------
>
> Key: WFLY-3448
> URL: https://issues.jboss.org/browse/WFLY-3448
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Undertow)
> Affects Versions: 8.1.0.Final
> Environment: Wildfly 8.1.0 RC2
> Reporter: David Cabillic
> Assignee: Stuart Douglas
> Labels: sessionid, virtualhosts
>
> I used a virtual host in Wildfly like this :
> <host name="toto" alias="www.toto.com">
> <location name="/" handler="welcome-content"/>
> </host>
> When I try to access www.toto.com/sub/, a new cookie is created. It would be great with a "/sub" context but it is not for a "/" context.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list