On Wednesday, 29. January 2003 10:55, Matt Sergeant wrote:

> > features. Important: 0.93 works ONLY with the current CVS version of
> > AxKit (the soon-to-become next release). I will add backwards
> > compatibility if the demand arises.
>
> That hack is so horrible ;-)

Yes, I know. But you weren't available last night when I finally took the time 
to sort out the stuff.

> This is the more elegant version I came up with when I changed XSP.pm:
>
> sub start document {
>     return 'use Apache::AxKit::Plugin::Session;'."\n".
>            'use Time::Piece;'."\n".
>            '# globally prepare a session object.'."\n".
>            'my $session;'."\n".
>            'sub handler { $session = Apache->request->pnotes("SESSION");
>                           shift->SUPER::handler(@ ) }'."\n";
> }
>
> Granted though, it might not work in the face of multiple attempts to
> replace handler().

Which is what the plugin does, if you load the Global taglib. So unless we 
create a way to add more than one handler-initialization, there seems to be 
no other way...

-- 
CU
  Joerg

PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94


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

Reply via email to