-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jan 31, 2007 at 08:29:55AM -0500, Perrin Harkins wrote:
> On 1/31/07, Todd Finney <[EMAIL PROTECTED]> wrote:
> >Wouldn't throwing a
> >
> >         return DECLINED unless $r->is_initial_req;
> >
> >at the top of the handler fix the problem, in that case?
> 
> Probably, if you don't actually need this handler to run for the final
> URI.  What's the purpose of the handler?
> 
> >That occurred to me, and one of the first things that I tried was something
> >like this:
> >
> >         my $temp_session=$session{_session_id};
> >         $r->pnotes('SESSION_ID', $temp_session);
> >
> >It didn't change anything
> 
> It was worth a shot.  I really thought that would do it though.

If I understood that correctly (which I might quite well not!), if
pnotes takes a ref to whatever is put in, it'll take a ref to the
$session this way too. Maybe you want to put the _session_id in there
(but then, you'll have to cope with the case that the corresponding
session might disapper -- kind of a weak reference).

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFwX7KBcgs9XrR2kYRAkBCAJ9+0KGWQrStyS/igg3VEk6E46+TbgCfSQcy
YeCsiFXgo5swBMGtJ+7vgL0=
=PKFS
-----END PGP SIGNATURE-----

Reply via email to