title: OpenSSL session reuse (Server side) - would like to choose which session to reuse
body: <p>I'm running a basic server, using internal cache (SSL_SESS_CACHE_SERVER cache mode). As so, every time a client sends valid session ID, OpenSSL automatically starts session reuse. I'd like to have an option to decide, based on some very dynamic properties, if I want (or not) to reuse the available session. </p>
  
  <p>If i could get something similar to "SSL_set_session" of client, it would be perfect. OpenSSL will cache the sessions, and i'll decide when and if to use them by using SSL_set_session.  </p>
  
  <p>not storing specific sessions is not an option. I'm looking for a way to make the session lookup &amp; reuse - on demand only.  </p>
  
  <p>Thanks! </p>