[Zope] Timeout on authenticated user?
Etienne Labuschagne
ELabuschagne@gims.com
Thu, 21 Jun 2001 17:15:23 +0200
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C0FA64.FE78B110
Content-Type: text/plain;
charset="iso-8859-1"
Hi all
I want to be able to timeout an authenticated user. I am planning on using
a session object to store the username and set the timeout on that object.
When the session object timed-out, I will see that there is no username and
I can then set the authenticateduser to Anonymous.
I am not quite sure how to do that (set the authenticated user to something
else - is it enough just to se the REQUEST variable?) and if my methodology
is good at all! Any other suggestions on tackling this?
B.T.W. I am going to create a session object storing some extra info on the
user anyway, that's why I thought of using the session object to do the
timeouts with.
Etienne
------_=_NextPart_001_01C0FA64.FE78B110
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Timeout on authenticated user?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi all</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I want to be able to timeout an =
authenticated user. I am planning on using a session object to =
store the username and set the timeout on that object. When the =
session object timed-out, I will see that there is no username and I =
can then set the authenticateduser to Anonymous.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I am not quite sure how to do that =
(set the authenticated user to something else - is it enough just to se =
the REQUEST variable?) and if my methodology is good at all! Any =
other suggestions on tackling this?</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">B.T.W. I am going to create a session =
object storing some extra info on the user anyway, that's why I thought =
of using the session object to do the timeouts with.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Etienne</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C0FA64.FE78B110--