I'm using gaesessions and the cookie data seems to be passed through
from gae handler to my handler, if that could help you at all..

On Apr 15, 4:17 pm, "Ikai Lan (Google)" <[email protected]> wrote:
> The upload handler isn't called by your end user. It's called by our backend
> systems after the upload has been processed by another service that doesn't
> have the 30 second deadline or size limits. You'll probably want to generate
> a token on the server side in the same handler that creates the blobstore
> upload URL, associate that with the user, then read this value in the upload
> handler to map it back to your user.
>
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine
>
> On Thu, Apr 14, 2011 at 8:10 AM, Justin Waugh <[email protected]>wrote:
>
>
>
>
>
>
>
> > I ran into an issue recently when I first tried to use the blobstore,
> > in that when the blobstore internally redirects to the upload handler
> > it may not be specified as requiring login, unless it is admin login.
>
> > I guess I have 3 questions:
>
> > 1.  Why is that restriction in place?  I would certainly like to
> > require a user login for my upload handler
>
> > 2.  Why does get_current_user() return None in the upload handler if
> > the user has previously logged in?  If I post to the same handler
> > without going through the blobstore first, the get_current_user()
> > returns the user.
>
> > 3.  What would the best practice then be for validating that the user
> > is authorized for a blobstore upload handler?
>
> > Thanks for the help!
>
> > --
> > 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.

Reply via email to