[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] CA::Plugin::Authentication


Cees Hek <suppressed> wrote:
> On 10/10/05, Bill Stephenson <suppressed> wrote:
> > In my real world app I want to make the user login if
> > they've been away from their screen for one hour, but allow them to
> > continue working where they left off.
>
> The CGI::Application::Framework (CAF) module does some extra magic
> that makes this work with POST variables as well (as long as there are
> no file uploads).  But they use a different Authentication scheme than
> my CAP::Authentication module.  Although Michael Graham has mentioned
> that he is going to try to integrate CAP::Authentication into CAF when
> he can.  Perhaps you read this in the CAF docs somewhere...

In the CAF we we do preserve the POSTed form after a relogin.

And you're right that a limitation with this approach is that file
uploads don't survive this process.

I'd like to find a good way of handling this, but it may turn out to be
more trouble than it's worth.

Also, we do indeed plan to refactor the CAF to use both CAP::Session and
CAP::Authentication.  I haven't had time to tackle this project yet - 
I've been crazy busy at $dayjob converting a huge legacy app into 
CGI::Application - fun!.


Michael


---
Michael Graham <suppressed>


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.