Hello Carla, If I understand your problem is passing variables from "indexResumo" to both functions "resumoMensalTMN" and "resumoMensalLocal". The approach you took is fine with two caveats: 1) the URL cannot exceed 4K else it will break on IE 2) your are exposing the variables publicly so you must consider it safe even if a user edits those variables
You can use a json variable instead of multiple get variables but, by itself, it would not change anything. You can prevent 2) by signing the url URL(..., user_signature=True) and decorate "resumoMensalTMN" and "resumoMensalLocal" with @requires.signature(). The only way to prevent 1 is store the variables in a session dict, pass the dict key as a get var, and retrieve the vars from the dict using the key. Hope this makes sense. -- 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.

