Hi all,
I was using the Net::SSLeay module to make the ssl connection. I want to make my ssl client to re-use the session-id, so I found that the function Net::SSLeay::copy_session_id($to, $from) can do that. But both $to and $from are the openssl's SSL structure, they are one integer in perl.
My quesion is how to store the openssl's SSL structure into file or perl scalar? After storing the openssl's SSL structure, the next time it will be able to be gotten and then used to do the ssl session reuse.