Re: Session Id is appended as URL path parameter in very first request

Splash Forums Rewrite Users Session Id is appended as URL path parameter in very first request Re: Session Id is appended as URL path parameter in very first request

#23013

RedShadow
Participant

Well i am using the following:

<session-config>
<session-timeout>15</session-timeout>
<cookie-config>
<name>BLAZEPLATFORM_SESSION</name>
<http-only>true</http-only>
<secure>true</secure>
</cookie-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>

and also this in a servlet context listener:

final SessionCookieConfig cookieConfig = event.getServletContext().getSessionCookieConfig();
final Set<SessionTrackingMode> modes = new HashSet<SessionTrackingMode>();
modes.add(SessionTrackingMode.COOKIE);
event.getServletContext().setSessionTrackingModes(modes);
cookieConfig.setHttpOnly(true);
cookieConfig.setSecure(true);

but it is still not working.

I am using JBoss AS 7.1.0.Final