title: Custom ID in session handling by Java Servlet API
body: <p>Is it possible to assign a custom ID to a HTTP session through Servlet API?</p>
  
  <p>I know that session handling from any application server, Tomcat for example, it's enough good to generate unique IDs. But I have custom unique session IDs based on information per user and time, so it won't be repeated.</p>
  
  <p>And I looked at every documentation about session handling but nowhere I find what I need.</p>
  
  <p>It's a requirement for a project, so if it's not possible, I need to know the reasons (or it's only not available through API?).</p>