> I'm wondering how to do that - request scope - in web.py. Is there a
> Request object ?

web.py has a thread-local context accessible as web.ctx. You can
anything web.ctx and it will be accessible only in that request.

web.ctx.current_user = "joe"

> Is web.input()  static? We can store values in after
> the user request?

No, web.input is request scope.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to