At 19:10 22/05/2000 -0400, [EMAIL PROTECTED] wrote:
>At a later hour on 22/05/2000, [EMAIL PROTECTED] wrote:
>>I routinely stuff my %session tied hash into a pnote, and it works fine.
>>All I do is something like $r->pnotes('session') = \%session;
>
>Thank you, Robin.

You're welcome :)

>That was exactly what I was doing. 
>My trouble must lie elsewhere.
>It seems the Apache::Session::DBI isn't actually changing anything
>in the database, since next time I tie the session the only thing
>it has is the _session_id I tied it with in the first place.

Well, I'm not sure that I can help you further, I've dropped using
Apache::Session some time ago in favour of a smallish module of my own
called Apache::SessionNotes. It's very far from being as flexible, but it
does what I want it to do.

Iirc, for the session to be committed to the db, the tied hash has to go
out of scope, be untied (DESTROY is called I guess), or something like
%session->commit should be called. But as I said, I'm not sure, I haven't
used it in too long.


.Robin
Doctor:   "Ah, ah that's a catch question. With a brain your size you don't
think, right?" -- Dr. Who

Reply via email to