Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将身份验证令牌存储在会话 cookie 中。我正在使用谷歌应用引擎和restlets。我做了一些搜索,但我什至不知道从哪里开始。
我想:
此外,会话 cookie 是否是此类信息的正确位置?
restlet 没有对类似会话的 servlet 的内置支持。
您总是可以尝试使用 restlet属性来获取 cookie,然后验证您的身份验证令牌。那是假设您的身份验证机制设置了 cookie。否则,也许您可以使用 reset 的身份验证组件来解决问题。
您还可以查看内置会话。