esp_http_server session
Posted: Mon Sep 23, 2019 3:56 am
Hi, I'm trying to get the http server works with the session control.
I'm trying to save a time ticks when I received new connection, using httpd_sess_set_ctx.
Then I found that the session data I set will be expired after 5 mins.
Is there any guide/hints on how to control the session timeout?
I couldn't find anything that can relate to this 5 mins.
Or anyone has example of esp_http_server with session control?
as I will need to include the user login, which need the session control with time.
I'm trying to save a time ticks when I received new connection, using httpd_sess_set_ctx.
Then I found that the session data I set will be expired after 5 mins.
Is there any guide/hints on how to control the session timeout?
I couldn't find anything that can relate to this 5 mins.
Or anyone has example of esp_http_server with session control?
as I will need to include the user login, which need the session control with time.