[ZPatterns] LoginManager and Timeout

Lorenz Polsky polka2038@yahoo.fr
22 Aug 2002 17:11:07 +0200


Hi Steve
Thank you for your answer. =20

I had tried to use the parameter cache_expire.  I had fixed it at 60 (I
supposed that the unit was the second).  But the authenticate form was
not displayed!!!!

I don't understand where is the problem!


JM

Le jeu 22/08/2002 =E0 16:00, Steve Spicklemire a =E9crit :
> Hi Lorenz,
>=20
> 	I've not actually *done* this, but there is already a cache timeout=20
> defined in the BasicUserSource (and GUS). You can implement your timeout=20
> by authenticating your user or not based on how long it's been since=20
> they've done something. Your userAuthenticate should be called every=20
> time the UserSource cache times out (based on the value set in the=20
> Properties tab of the UserSource).
>=20
> 	There are probably other ways.. but I think they might all involve=20
> subclassing LoginManager objects..
>=20
> Good Luck!
> -steve
>=20
> On Thursday, August 22, 2002, at 08:26  AM, Lorenz Polsky wrote:
>=20
> > Hello
> >
> > I created an application, which uses loginmanager with cookies!  I woul=
d
> > like to implement a timeout!  but I do not know how to do!!
> >
> > can you help me
> >
> > Lorenz
> >
> >
> >
> >
> > _______________________________________________
> > ZPatterns mailing list
> > ZPatterns@eby-sarna.com
> > http://www.eby-sarna.com/mailman/listinfo/zpatterns
>=20
> _______________________________________________
> ZPatterns mailing list
> ZPatterns@eby-sarna.com
> http://www.eby-sarna.com/mailman/listinfo/zpatterns