Dear mason-users,
I have been searching the mason lists for this topic, but until
now I
wasn't able to find a solution for my problem. I switched an
application
running under Apache 1.3x to Apache/2.2.3. I use(d)
MasonX::Request::WithApacheSession as my sessionhandler, which
worked
great under 1.3x. Now it seems that theres never a cookie set,
the
sessionid changes on every request.
I first followed http://www.masonhq.com/?WithApacheSession in
setting my
environment, which resulted in MasonX::* not throwing any errors
anymore. Dumping $m->session via Data::Dumper produces something
like
$VAR1 = {
'_session_id' => 'a60b5980c9434d9a1c7de0f73e1e9073'
};
But whenever I try to stash something in $m->session it does not
ge stored, and I guess this is because the cookie just is not
set
Here is the relevant part of my custom handler:
autohandler_name => 'mastertemplate.html',
request_class => 'MasonX::Request::WithApacheSession',
session_use_cookie => 1,
session_cookie_domain => 'iac249',
session_cookie_name => 'CSID',
session_cookie_expires => 'session',
session_class => 'Apache::Session::File',
session_directory =>
'/var/www/mason/data/session',
session_lock_directory =>
'/var/www/mason/data/session/locks',
comp_root => '/var/www/htdocs',
data_dir => '/var/www/mason/data',
allow_globals => [qw/$dbh $session/],
error_mode => 'output',
decline_dirs => 0,
args_method => 'mod_perl',
Where do I have to look next?
Cheers,
Ralf
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users