Yup...this is what I do in mine......

<!--- Clear client varaible if no activity in past 30 mins --->
<cfif DateDiff("n", Client.LastVisit, Now()) GTE 30>
                <cfquery Name="DelClientVars" datasource="DSN" MAXROWS=1>
                        DELETE FROM CDATA WHERE CFID =
'#Cookie.CFID#:#Cookie.CFToken#' AND APP = 'CVBuilder'
                </cfquery>
</cfif>

OK I am using Clent management and it is being stored in a SQL database but
you get the idea

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 24 August 2000 15:27
To: [EMAIL PROTECTED]
Subject: RE: RE: Session timeout?




Thanks Andy,
             I cant do that cause i an dynamically logging the
user. 

Is there  a ways you could say.

isDefined(Sessiontimeout)??

or 
i have to calculate the time the user spends in the app and log
them off!
 

--- Original Message ---
Andy Ewings <[EMAIL PROTECTED]> Wrote on 
Thu, 24 Aug 2000 15:04:50 +0100
 ------------------ 
Set a param in your application.cfm called Session.Loggedin for
example with
a default of "no"
When a user logs in set this variable to yes.

Then in your application.cfm also have code that says:

<cfif Session.Loggedin IS "No">
        <cflocation url="logon.cfm">
</cfif>


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 24 August 2000 15:01
To: [EMAIL PROTECTED]
Subject: Session timeout?




Hello all.
           Is there a way to find whether the session timed out.If
the session timed out display the logon page.

Some like 
<cfif Not isDefined(Session)>
<cflocation ../logon.cfm>
</cfif>

but i cant get this work.

Appretiate any comments.

thanks
Joe


-----
Sent using MailStart.com ( http://MailStart.Com/welcome.html
)
The FREE way to access your mailbox via any web browser, anywhere!

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.



-----
Sent using MailStart.com ( http://MailStart.Com/welcome.html )
The FREE way to access your mailbox via any web browser, anywhere!

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to