autologout, and drafts

Michael Bull mbull@uoguelph.ca
Wed, 13 Jun 2001 15:31:38 -0400


At 02:42 AM 02/06/2001 -0400, you wrote:
>Quoting maillist <maillist@beunion.net>:
>
> > wondering whether there is autologout feature in the CVS version.
> >
> > and how to enable it?
>
>Just set the session lifetime property of the php4 session engine
>(http://www.php.net/manual/ref.session.php).

Hello again -- things were busy around here, so I haven't been around the
mailing list as much as I'd have liked.

Just a note on that -- that isn't the ideal solution, as it means people
that spent a great deal of time writing a long message get logged out and
the contents of that message lost, if their session expires.

When this came up several months ago, someone said there were close to
having patches for this... is he perhaps still around?  What is needed, I
think, is something Hotmail-esque -- that compose.php when it submits, when
it checks to see if the session is invalid... if it is, but there is
information being posted, it creates a page with that information in it
(hidden field?) that asks for login information.   If the user logs in with
name and password again, message sending completes.

I'll try and put some cycles to that in the near future, particularly if the
other person who mentioned they nearly had something isn't around anymore.


Another question -- this may be because I don't have preferences fully
enabled yet on my cvs setup, however when I tried to save to drafts without
a draft folder, it appeared that the draft folder was created, but no
message was placed into it with no error reported.   Has anyone else
experienced this?