Hi
Andrew I would be interested. Incidentally as far as i understand, using
client variables stored in a database
means for every page requested there is a trip to the database right? Isnt
that very inefficient?
KOla
Kola Oyedeji
Web developer
Allaire Certified ColdFusion Developer
http://www.ekeda.com
0208-429-7323
> -----Original Message-----
> From: Andrew Scott [mailto:[EMAIL PROTECTED]]
> Sent: 26 July 2001 02:32
> To: CF-Server
> Subject: RE: Using CFAPP and inactive interfaces...
>
>
> If anyone is interested I will clean up some of the tags I have used,
> and display them here for you guys to look at. This will
> explain in more
> detail how I have done it, it might not be everyone's cup of
> tea but it
> works for me and it is sufficient for what I have being
> developing over
> the last few years.
>
>
>
> > -----Original Message-----
> > From: Roberts, William C [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 26 July 2001 4:19 AM
> > To: CF-Server
> > Subject: RE: Using CFAPP and inactive interfaces...
> >
> >
> > So if I'm using authentication via the Web server, then how
> do I kill
> their
> > login to the Web server? The only way I know of killing it is by
> closing the
> > browser window. Any ideas? Please help a "newbie" on this subject.
> > Thanks!
> >
> > > -----Original Message-----
> > > From: Justin Buist [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, July 24, 2001 12:58 PM
> > > To: CF-Server
> > > Subject: Re: Using CFAPP and inactive interfaces...
> > >
> > >
> > > I'm assuming you are using 20 minutes because that's what
> > > session variables time out at by default...
> > >
> > > So... just check for the existence of the session variable(s)
> > > you set when they do login at the top of all pages which
> > > really need it. If they navigate to a page that needs them
> > > to be logged in redirect them to the login page with
> > > instructions that they sat idle too long.
> > >
> > > For the love of God don't try and close down an application
> > > on the user's desktop just because they sat idle too long.
> > >
> > > Justin Buist
> > > Trident Technology, Inc.
> > > 4700 60th St. SW, Suite 102
> > > Grand Rapids, MI 49512
> > > Ph. 616.554.2700
> > > Fx. 616.554.3331
> > > Mo. 616.291.2612
> > >
> > > On Tue, 24 Jul 2001, Roberts, William C wrote:
> > >
> > > >
> > > > Please help!
> > > >
> > > > Anyone have any good examples of using cfapplication to
> > > automatically
> > > > close the browser window after 20 minutes of inactivity?
> > > >
> > > > This is what I have so far:
> > > >
> > > > 1. Authentication is handled via the Web server so I have
> > > > #REMOTE_USER# available to me.
> > > >
> > > > 2. If someone navigates my app after the timeout period (say 20
> > > > minutes) I would like the following code below to run...
> > > > ==========================================> > <script
> > language="JavaScript"><!--
> > > > alert('You do not have an active\nconnection with the
> > > System.\n\nThis
> > > > may be due to\n20+ minutes of inactivity.\n\nIf you wish to
> > > continue
> > > > working,\nplease login again.'); self.close( );
> > > > //--></script>
> > > > <cfabort>
> > > > ==========================================> >
> > > > I need help ASAP! Anything would be greatly
> appreciated! Thanks!
> > > > Bill
> > > >
> > > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com