Ok, so far, and it's not been too long, I love Mason. But I'm stuck on Session values.
My httpd.conf file declares %session a MasonGlobal. My root level autohandler checks/sets cookies and ties the %session and logs in. That all works great and users stay logged in across the various pages.
But when I try and assign a value to that global %session value somewhere other than the autohandler where it is localized (as the Mason book strongly suggests), the value is not saved to the next page. So I guess the global %session is not tied, just the local autohandler %session.
How do I get a value into that localized %session, and thus to the underlying MySQL session table, from another module??
I tried creating a method in that autohandler and passing values back it, but that didn't seem to work.
thanks.
In reply to Mason Sessions - problem Storing values by nacredata
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |