Does the webapp framework support sessions?

43 views
Skip to first unread message

Seth Ladd

unread,
Apr 8, 2008, 2:26:02 AM4/8/08
to Google App Engine
Looking for any documentation related to sessions in the webapp
framework. Is there explicit support for sessions?

Thanks!

Brian

unread,
Apr 8, 2008, 2:35:44 AM4/8/08
to Google App Engine
Probably not in the way you mean. I believe you have to use the data
store for all data, including stuff you would normally keep in an in-
memory session.

-Brian

Brandon Smith

unread,
Apr 8, 2008, 2:45:10 AM4/8/08
to Google App Engine
Consider the lack of your daddy's sessions a feature. Its what will
make your app scale on Google's infrastructure.

BenJamin Prater

unread,
Apr 8, 2008, 4:04:52 AM4/8/08
to Google App Engine
Consider encrypted cookie-based sessions?

Ben

Seth Ladd

unread,
Apr 8, 2008, 4:26:57 AM4/8/08
to Google App Engine
Exactly! Take a page from the Rails book here.

On Apr 7, 10:04 pm, BenJamin Prater <bpra...@gmail.com> wrote:
> Consider encryptedcookie-based sessions?
>
> Ben

Brett Morgan

unread,
Apr 8, 2008, 6:18:01 AM4/8/08
to google-a...@googlegroups.com
I'm curious as to why you guys are looking at needing cookie based sessions?

User management is handled by google, and you can tie information in
the datastore to the user that created it. Doesn't that get rid of the
need for sessions entirely?

Bryan Donlan

unread,
Apr 8, 2008, 6:27:31 AM4/8/08
to Google App Engine


On Apr 8, 6:18 am, "Brett Morgan" <brett.mor...@gmail.com> wrote:
> I'm curious as to why you guys are looking at needing cookie based sessions?
>
> User management is handled by google, and you can tie information in
> the datastore to the user that created it. Doesn't that get rid of the
> need for sessions entirely?

You don't /have/ to give control to google - you can always write your
own user registration/login logic.

Brett Morgan

unread,
Apr 8, 2008, 6:38:23 AM4/8/08
to google-a...@googlegroups.com

True, true. I've just had to write user management admin user
interfaces one to many times to bother doing it again. =)

Greg

unread,
Jun 3, 2008, 8:32:12 PM6/3/08
to Google App Engine
I have a secure lightweight memecache-backed session class at
http://code.google.com/p/gmemsess/. I'm using it for my own
authentication system.

Cheers!
Greg.

algardner

unread,
Jun 16, 2008, 6:38:18 PM6/16/08
to Google App Engine
Thanks for sharing! I was looking for a simple, short term session
class that didn't need the DB, and this looks like it fits the bill
perfectly!

Thanks again!

-Albert.


On Jun 3, 5:32 pm, Greg <g.fawc...@gmail.com> wrote:
> I have a secure lightweight memecache-backed session class athttp://code.google.com/p/gmemsess/. I'm using it for my own
> authentication system.
>
> Cheers!
> Greg.
Reply all
Reply to author
Forward
0 new messages