This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP432E401Y:HTTP 用户会话

Guru**** 2387080 points
Other Parts Discussed in Thread: NDKTCPIP
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1111045/msp432e401y-http-user-session

器件型号:MSP432E401Y
主题中讨论的其他器件:NDKTCPIP

您好!

我需要对登录进行身份验证,并且只允许该用户会话访问 Web 服务器文件和 cgi 脚本。  我们如何使用 TI NDK HTTP 服务器实现这一点?  我们使用 的是 simplelink_msp432e4_sdk_4_20_00_12。

谢谢、

-Mike

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我可以找到 NDKTCPIP 用户指南。 在第2.2.12章 中,添加客户端和服务器可能有助于解决您的问题。  

    https://www.ti.com/lit/ug/spru523k/spru523k.pdf

    此致、

    现金 Hao

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我认为这样做的方法是使用会话 ID 设置 Cookie。  我设法从服务器端(MSP432)执行此操作、但我看不到客户端使用会话 ID 进行响应时如何获取 HTTP 标头。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我发现 URLHandler_ScanFieldFxn 回调具有包含 Cookie 的客户端标头。