HttpSession encode the sessionid(base64) but WebSession not. Is there any way we can encode session id in websession too.
HttpSession has following code which allows us to control encoding while setting cookie
DefaultCookieSerializer serializer = new DefaultCookieSerializer();
serializer.setUseBase64Encoding(true);
return serializer;
Do websession allow any customization or properties to enable encoding similar to httpsession?
You can define an
WebSessionIdResolverbean like so