Hi,
It is fine to use a cursor as a query parameter.
"A cursor is an opaque base64-encoded string that represents the
next starting position of a query after a fetch operation. The app can
embed the cursor in web pages as HTTP GET or POST parameters."
"It is generally safe to pass a datastore cursor to a client,
such as in a web form, and accept a cursor value from a client. A
client cannot change the cursor value to access results outside of the
original query."
From:
http://code.google.com/intl/en/appengine/docs/python/datastore/queries.html#Query_Cursors
Robert
On Sun, Mar 6, 2011 at 10:38, legnabea <[email protected]> wrote:
> Nice to meet you.
>
> In Google's Document, using "with_cursor" with memcache API.
> (http://code.google.com/intl/en/appengine/docs/python/datastore/
> queries.html)
>
> But I wanna use with_cursor method in URL.
> ex: If I can get String
> "E9oDBWwoLZtZXJcmFGFjaGF03cHkaCFVzM..........." by query.cursor(),
> http://example.com/app?cursor=E9oDBWwoLZtZXJcmFGFjaGF03cHkaCFVzM...........
>
> Then, Is it no problem ? What problem will be happen ?
> In security, in convenience, or in performance etc.
>
>
> Sorry for bad english, Please ask if you would like me to explain
> something.
>
> :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.