What steps will reproduce the problem? from gluon.contrib.gql import *
db = GQLDB()
session.connect(request,response,db=db)
def index():
session.flash=T('Welcome to web2py')
redirect(URL(r=request,f='show'))
def show():
return dict(session=session) What is the expected output? What do you see instead? The string appears in session, so sessions work, but response.flash does
not receive session.flash after the redirect and the string remains in the
session. What version of the product are you using? On what operating system? r259 Please provide any additional information below. If I comment out the 3 lines:
From robi...@gmail.com on June 14, 2008 22:25:32
What steps will reproduce the problem? from gluon.contrib.gql import * db = GQLDB() session.connect(request,response,db=db)
def index(): session.flash=T('Welcome to web2py') redirect(URL(r=request,f='show'))
def show(): return dict(session=session) What is the expected output? What do you see instead? The string appears in session, so sessions work, but response.flash does not receive session.flash after the redirect and the string remains in the session. What version of the product are you using? On what operating system? r259 Please provide any additional information below. If I comment out the 3 lines:
from gluon.contrib.gql import *
db = GQLDB()
session.connect(request,response,db=db)
Then the example works, but its not using GAE
Original issue: http://code.google.com/p/web2py/issues/detail?id=9