On Apr 28, 2005, at 7:17 AM, [EMAIL PROTECTED] wrote:
my $session_db;
if( $session_db = tied(%Apache::AxKit::Plugin::BasicSession::session) )
{
$session_db->save;
};


which actually forces the session to be re-read from the backend DB
once you "go in from another page/step" (I guess re-tie the DB)

I tried adding the above code to the XSP transformation that gets done prior to the final stylesheet being applied, but it seemed to have no effect. What I tried was:

<snip>

And the final stylesheet still did not receive the correct value for
'userId'. No change :(

This is actually because AxKit does not directly use the contents of the %session tied hash, but rather populates the parameter list prior to the AxKit pipeline being invoked. So if the contents of the %session hash changes due to a content provider running (either a custom provider or XSP code), the Apache request's parameter list won't be changed.


This is one of the bugs that I had addressed shortly before I passed maintainership on to Kjetil, but it seems this didn't make it into CPAN. I'll dig up the fix I made and will send the patch on to Kjetil.

--
Michael Nachbaur <[EMAIL PROTECTED]>
http://nachbaur.com/pgpkey.asc


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to