[web2py] Re: passing data as post params rather than URL vars/args

2011-04-05 Thread Brian Will
Using session occurred to me, but I was put off by the idea of cluttering session with one-time use data. Is it good practice to then remove the data from session after use? Probably doesn't matter, I guess. On Apr 5, 12:47 am, Arbie Samong wrote: > From what I can understand you want your data a

[web2py] Re: passing data as post params rather than URL vars/args

2011-04-05 Thread Brian Will
Come to think of it, not sure why I'm thinking it has to get passed as POST data: the redirect isn't triggering a second request, right? I just want to pass data from the action to the view. (Though I'm still curious how to POST data in the response.) I also realized I can manually set response.vi

[web2py] Re: passing data as post params rather than URL vars/args

2011-04-05 Thread Arbie Samong
>From what I can understand you want your data available even after a redirect. POST won't have that, so you should either store it on the session, with cookies or with the database. If it's just temporary I would suggest using session variables. Regards, Arbie On Apr 5, 3:38 pm, Brian Will wrot