[ 
https://issues.apache.org/jira/browse/WICKET-4873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502076#comment-13502076
 ] 

Martin Grigorov commented on WICKET-4873:
-----------------------------------------

The only management in Wicket related to jsessionid is in wicket-util's 
Strings#stripJsessionId().
We can add :

Strings.java:
  private static final String sessionId = 
System.getProperty("wicket.jsessionid", "jsessionid");

And later use it in #stripJSessionId().
This way you can set -Dwicket.jsessionid=sid in your start scripts.

What do you think ?
                
> Support different session id parameter
> --------------------------------------
>
>                 Key: WICKET-4873
>                 URL: https://issues.apache.org/jira/browse/WICKET-4873
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: Christoph Leiter
>            Priority: Minor
>
> Jetty supports renaming the session id parameter by calling 
> AbstractSessionManager#setSessionIdPathParameterName("sid"). Before 6.2.0 
> this wasn't a problem. But the changes introduced with WICKET-4816 now break 
> this. Urls with /Page;sid=abc return 404 now. Technically it's not really 
> required that Wicket provides a solution for this, because the name jsession 
> id is mandated by the servlet spec, but it would be nice though.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to