How to disable SSL session resumption?

Hi,

I was wondering if there was a way disabling SSL session resumption all together when using SSLSockets. I found that the minimum size of the session cache (set via SSLSessionContext.setSessionCacheSize) is 1. In other words how to force a full session renegotiation every time on client side?

- Thanks

[324 byte] By [nemon1ca] at [2007-11-26 15:08:10]
# 1
The minimum size is zero, not 1, but zero means 'infinite', like a timeout.You could set the size to one and invalidate each new SSLSession at the server. That session continues in use, but cannot be resumed by a new connection.
ejpa at 2007-7-8 8:58:37 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...