Google App Engine: Using datastore with users who are not logged in
I am reading the Users Service to learn about the Users API before I deploy my app. I would like to have users try the app without logging in first. Is this possible? I 开发者_如何学Goneed to store the input from a given user to Datastore and then fetch it. Thanks.
Users are not required to be logged in for you to use the datastore in your app.
If your demo stores data associated with a particular user, you will need to find a way to associate the 'demo' data with the right user. Perhaps you can accomplish that using sessions. If your using Python, you might look at gae-utlitiies or gae-sessions.
Java has built-in support for sessions.
精彩评论