printf("\n::: %d :::\n", added); /* it is returning 1 always which means that it succeeds */
ssl = SSL_new(ctx);
session = SSL_get1_session(ssl);
if ((filePtr2 = fopen(fileString2, "r+")) != NULL)
// write the data to the file
// close the file
Everytime a new session is negotiated, the session_id file gets updated with the new session details. I am able to write and read from a file.
This means that the session should always be re-used, even if the session gets timed-out from the internal cache, it will get loaded from the external file, and the session must always be reused. BUT THIS IS NOT HAPPENING FOR NOW.
Any problem in the code!? Please let me know
On Sat, Feb 27, 2016 at 8:32 PM, Shubham Chauhan <[hidden email]> wrote:
great! Thanks, I'll give it a try, this looks promising enough :)