Sorry to ask something so seemingly basic, but it's posing quite an issue
at the moment. I've got a back button that is set to appear when a DB query
doesn't result in any items being returned (i.e. a grid is blank). The
button is implemented like this:
back_button_form = FORM(INPUT(_type='submit',_value=T('Back'),_id=
'back_button'),_name='back_form',_id='back_form',_action='grid_search')
Clicking on this returns the user to the grid, but clears the session
variables, which is problematic as session is being used to store the
user's search terms. Is it a normal web2py behaviour that session is
cleared when the user is redirected, whether to request.env.http_referer or
to another page, or could it be something idiosyncratic that's going on
with my site (I've checked for code that could be doing it, but have not
been able to find anything that could be responsible)? Is there a way to
retain the session values, or preferably, to prevent them from being
cleared? Thank you.
--