Please CC: [EMAIL PROTECTED] on all replies since my subscription has not gone through yet. I wrote some functions that use the vendor hooks in mod_ssl to store SSL sessions in a SQL database (so seperate physical web servers can share session caches)... I have it to the point where if it looks up the session in the local DBM cache and doesn't find it, it consults the SQL database. The ssl_scinfo_t struct I assemble in my vendor scache_retrieve function works fine when the ssl_scache_retrieve function calls d2i_SSL_SESSION() on the data it returned... mod_ssl picks up that session and uses it and no errors occur, etc. However, I wanted to further improve it by storing the session in the local DBM after it retrieves it from the SQL database. So I call ssl_sdbm_store() on my ssl_scinfo_t struct, and it returns true. However, subsequent calls to ssl_scache_retrieve consult the local DBM, and finding the session, execute the d2i_SSL_SESSION() on it, but that function returns NULL. I can't figure out why the same ssl_scinfo_t struct returns a valid SSL_SESSION the first time I use it, but NULL if I pull it out of the local DBM. DBM entries stored on the newSessionCacheEntry() callback work fine. In fact, the DBM entry I store seems to work in terms of the dbm_retrieve() function behaving correctly, it returns a ssl_scinfo_t struct pointer whose ucaData member is _not_ NULL.. however, the openSSL function that turns this into a SSL_SESSION is still returning NULL on this one, and I can't figure out why. Any input would be appreciated J ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]