Brook,

The session doesn't expire after 20 minutes; it expires on the 1st page
access which comes more than 20 minutes after the previous access.  So
try to keep track of whether the user has gone to the email pages.

If the user gets to the email pages by clicking a button or link under
your control, set a boolean variable to true when the user clicks that
button or link.   When checking isLoggedIn, if the boolean is true don't
perform the 20-minute check (or perhaps add another X minutes).  Set the
boolean to false after the isLoggedIn check.

Or, check HTTP_REFERER when checking isLoggedIn.  If the user is coming
from the email pages, don't perform the 20-minute check (or perhaps add
another X minutes).

-David

On Thu, 13 Apr 2000 12:37:39 -0700 Brook Davies <[EMAIL PROTECTED]>
writes:
> 
> I have a cf app that lives on a cluster and uses db stored client 
> var's to
> maintain state. On each page of my application the isLoggedIn 
> Variable is
> checked and if the date/time contained within plus twenty minutes is 
> less
> than the current date/time then the users session has expired. 
> Otherwise I
> write the current date/time to the client var.
> My problem is that my site uses frames and at one point calls a 
> third party
> application (web based email provided by Critical Path). If the 
> users
> checks there email for more than 20 minutes without touching the nav 
> bar,
> their session will expire since they have not called a CF page. Is 
> there
> any way around this?
> Brook
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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