This is a Java servlet filter (as per Servlet API 2.3). This filter lets you disable URL-encoded session identifiers. So URL-based sessions will be disabled and sessions will be supported through cookies only.
How to use it:
a) download jsessionflt.jar and save it in WEB-INF/lib
b) describe this filter in web.xml.
c) describe a mapping for this filter in web.xml
in this case filter will be on for the each .jsp file for example.
For downloading:
JSession filter: jsessionflt.jar
See also JSOS - the largest collection of servlets and filters.
Related links: