This is a different question related to securing JSESSIONID cookie in tomcat 7.
I am using a cloud server where we dont have access to tomcat server.xml but can set environment variables and tomcat system variables.
I need to change below setting:
   <Connector port=" ...  />
And add secure="true" attribute using environment properties only. Is there any tomcat environment which I can set. For example we have a tomcat environment variable:
  `logging.dir=/logs/tomcatlogs`
I am using dynamic web module version 2.4 and java 7.