Why may have jsessionid in WpdExtendlet.writeAppInfo

asked 2018-06-06 17:22:14 +0800

MarkLin gravatar image MarkLin

updated 2018-06-07 08:41:33 +0800

in class (ZK) WpdExtendlet.writeAppInfo, how to reproduce a case which uri contains jsessionid?

    String s = Encodes.encodeURL(ctx, reqctx.request, reqctx.response, "/");
    int j = s.lastIndexOf('/'); //might have jsessionid=...
delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-07 10:39:44 +0800

cor3000 gravatar image cor3000
5868 2 7
ZK Team

updated 2018-06-07 10:40:18 +0800

this mechanism is called URL-rewriting and is a fallback in case cookies are not supported.

This can be disabled in your web.xml by adding (since servlet spec 3.0, e.g. tomcat 7+):


other ideas are mentioned here and here

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2018-06-06 17:22:14 +0800

Seen: 8 times

Last updated: Jun 07 '18

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More