12 Feb 2013, 10:51 PM
Zen Follower
- Join Date:
- Oct 2012
- Posts:
- 282
- Plugin Contributions:
- 0
setting $_SESSION variables in an Observer Class
i tried initializing a $_SESSION variable in an observer class like this...
class hazMatProduct extends base {
var $_SESSION['hm-agreement'] = false;
but it throws an error. why does that create an error?,
the error log doesn't pick it up and record.
big thanks,