On Tuesday, February 2, 2016 at 1:05:29 PM UTC-5, Pierre wrote:
>
> Yes Yes
>
> nothing extraordinary
>
> I just want to pass variables from one controller/function to another 
> controller/function and so on and my question was is redirect the only way 
> to do this ?
>

Sure, redirect is one possibility, depending on what you are trying to 
achieve, but in your example you showed an immediate progression passing 
the results of one function into another and then another. Controller 
actions are for responding to HTTP requests, so you wouldn't chain them 
together in that fashion. But yes, you can certainly do a redirect when 
appropriate. Aside from passing data via the URL query string, you can also 
store data in the session.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to