title: set 'secure' flag to JSESSION id cookie
body: <p>I want to set 'secure'  flag to JSESSIONID cookie . Is there a configuration in tomcat 6 for this ?</p>
  
  <p>I tried by setting 'secure="true"'  in  'Connector' (8080)  element of server.xml , but it creates problems ....thats Connection is getting reset .</p>
  
  <p>Note that in my application , the JSESSIONID is getting created in 'http' mode ( index page ) , when the user logins , it will switch into 'https' mode.</p>