Yes I am including the connection string
if request.env.web2py_runtime_gae:
db = DAL('gae')
session.connect(request, response, db=db)
else:
db = DAL('sqlite://storage.sqlite')
because it is working locally with the dev appengine server.
I did notice that it is not creating a session entry on the GAE
web2py_session_myapp table so i'll investigate that route. Why would
it not be able to create a session?
Thanks,
Stephen
On Mar 9, 4:31 pm, mdipierro <[email protected]> wrote:
> I assume you have
>
> db=DLA('gae')
> session.connect(request,response,db)
>
> somewhere.
>
> Can you check on GAE console if any session record has been created?
>
> Massimo
>
> On Mar 9, 2:10 pm, stephen <[email protected]> wrote:
>
>
>
> > Hello,
>
> > I am having a problem running my web2py app on GAE. The login form
> > seems to not be setting the session for the client. It is working when
> > i run it locally with the web2py server, and the appengine local dev
> > server, but not when I run it on GAE.
>
> > When running it on GAE in my response var i get:
>
> > session_id : None:770fb2da-a8fa-48dd-baba-07ee7df0e78f
>
> > which is incorrect and not working, but when running locally with
> > appengine dev server i am getting:
>
> > session_id : 94:a46d6f5b-cded-4b2c-9b07-b45fc5d9a117
>
> > which is correct and working.
>
> > Does anyone know how to solve this, or what might be the steps to fix
> > this?
>
> > Thanks,
> > Stephen
--
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en.