[mod_python] Passing data across handlers

Gregory Trubetskoy grisha at modpython.org
Fri Sep 8 16:47:47 EST 2000


I think req->notes is the best for now. I'll think about some more
elegant way for future versions. A global is not so good because you may
accidently pass it to a different request alltogether, whereas notes is
guaranteed to get cleaned between requests.

Grisha


On Fri, 8 Sep 2000, Rich Salz wrote:

> What's the best way to create data in one handler (e.g., Authen) and
> make it available to another?  Create a global? Stringify and use the
> notes attr?
> 
> tnx.
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
> 




More information about the Mod_python mailing list