lyn2py : Thanks. Your suggestion worked (you correctly understood the
requirement)

This thread elsewhere also suggested (indirectly) using the sessions. (
https://groups.google.com/forum/?fromgroups=#!searchin/web2py/sqlform$20with$20args/web2py/GC0EKaQ8Jjo/_tqgCZbctXkJ
)

I was thinking in the direction of "store the vars in some sort of
globally accessibly place" - But wasn't sure how.
Storing in the session seems right way to do it.

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

- Mandar

On Tue, Oct 23, 2012 at 5:32 PM, lyn2py <[email protected]> wrote:

> I ran into a similar requirement recently. I used sessions to record the
> vars I needed.
>
> However I can do so because the user is required to click on links to move
> around the site (they can't guess the urls). That way I can control the
> variables stored on session.
>
> I didn't understand your requirement fully (got lost halfway) when I
> posted this. So I am suggesting but I'm not sure if that will solve your
> issue.
>
> --
>
>
>
>

-- 



Reply via email to