The session handler can just use a single get by keyname/key to load
the session, and a single put to save.  If you don't have to change
the session every request, then put memcache in front of it so you can
save on the datastore get.

-mike


On Mar 18, 9:36 pm, Patrick Twohig <patr...@namazustudios.com> wrote:
> For whatever its' worth, I have HTTP Basic auth implemented in my web
> service and it fetches the user's account details from the datastore each
> time a request is made and it doesn't seem to be a huge problem.
>
>
>
> On Wed, Mar 17, 2010 at 4:41 PM, Guy Smith <g...@multiniche.org> wrote:
> > “If a web application wants to store session data, then it must be
> > stored in the DataStore rather than static variables or MemCache.”  -
> > is that correct?
>
> > I understand the reasoning behind it – that separate requests in a
> > session may go to different servers, which will not have the same
> > values in static variables or MemCache, only the DataStore is shared
> > between servers. But it is expensive (in developer time and DataStore
> > writes), so I’d just like to double check.
>
> > NB: I have a fair bit of session data – encoding it in the cookie is
> > not feasible.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Patrick H. Twohig.
>
> Namazu Studios
> P.O. Box 34161
> San Diego, CA 92163-4161

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to