> > When/where should I "clean" these variables from session ? > In case user directly accesses second URL (without going thru first URL to > select the search criteria) they might see incorrect results - since > controller function will use "old" values >
I suggest to ensure that URLs must be followed. Not possible to clear the session vars especially if search result has more than one page. Use user_signature=True for your SQLFORM.grid --