开发者

Using Cookies for authenticated users

开发者 https://www.devze.com 2023-02-13 17:00 出处:网络
Can anyone tell me of good tutorials that will explain how to ge开发者_运维技巧nerate a cookie for when a user logs into my system through Foursquare, so I can keep track of their information? Or is t

Can anyone tell me of good tutorials that will explain how to ge开发者_运维技巧nerate a cookie for when a user logs into my system through Foursquare, so I can keep track of their information? Or is there any other methods which I should look at?


To store semi-sensitive data, you should use a session variables. Sessions are stored on the server, with a unique cookie sent to each unique client. This way, you have control over what's in the session variable, but the user can still be uniquely identified. For info on sessions in app engine, see this post.

0

精彩评论

暂无评论...
验证码 换一张
取 消