cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

AaTa_3198991
New Contributor

Hello,

I need to implement a web server with login page on a WICED device with STM32F412 microcontroller. http_server that is bundled with WICED libraries does not seem to have anything to do with sessions or even cookies. Is the WICED_DYNAMIC_URL_CONTENT the only option with some code to generate the single page as a login page if there is no active login or the actual data page if the login is active?

Thanks

0 Likes
Reply
1 Solution
MuraliR_36
Moderator
Moderator

AaTa_3198991​ there are no cookies but there is a session based implementation in the http_server. Can you please look at SOCKET_PACKET_RECEIVED_EVENT at /43xxx_Wi-Fi/libraries/daemons/HTTP_server/http_server.c I am guessing this is what you are asking for. Do let me know if there is anything else. Yes, WICED_DYNAMIC_URL_CONTENT is an option which you can look at.

Thanks

View solution in original post

1 Reply
MuraliR_36
Moderator
Moderator

AaTa_3198991​ there are no cookies but there is a session based implementation in the http_server. Can you please look at SOCKET_PACKET_RECEIVED_EVENT at /43xxx_Wi-Fi/libraries/daemons/HTTP_server/http_server.c I am guessing this is what you are asking for. Do let me know if there is anything else. Yes, WICED_DYNAMIC_URL_CONTENT is an option which you can look at.

Thanks

View solution in original post