Zeynel
Zeynel

Reputation: 13525

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 need to store the input from a given user to Datastore and then fetch it. Thanks.

Upvotes: 2

Views: 176

Answers (1)

Robert Kluin
Robert Kluin

Reputation: 8292

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.

Upvotes: 3

Related Questions