Brett Gardner a écrit : > Don't forget you can use $m->notes(...) to store variables and objects > for each request instance.
That's great ! After digging a little I found some info on the $m->notes() method. Thanks for pointing it out. There's a paragraph I'm not sure to understand : "notes() is similar to the mod_perl method $r->pnotes(). The main differences are that this notes() can be used in a non-mod_perl environment, and that its lifetime is tied to the Mason request object, not the Apache request object. In particular, a Mason subrequest has its own notes() structure, but would access the same $r->pnotes() structure." In my case, shouldn't I use the $r->pnotes() instead since I have components calling subcomponents ? And for subs, is the "module" solution the best ? Thanks for all your help, -- Jean-Christophe Boggio ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users