What if instead of calling a JS dialog, you call a pop-up page. That would request a page from the server, thus automatically refreshing the session.
> -----Original Message----- > From: Gyrus [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 03, 2002 3:06 PM > To: CF-Talk > Subject: Re: How to Handle timed out sessions? > > > ----- Original Message ----- > From: "Andrew Spear" <[EMAIL PROTECTED]> > I've implemented a JS based timer into our intranet. You > shouldn't need frames either. I define the variable > "session.StartTime" to whatever my Application timeout is. > ----------snip--------------- > > My original idea revolve around a user being able to click a > button to refresh the session. It seemed to overlap with this > guy's problem of letting users know their session's timed out > if they go away and come back. > > Your idea would probably work fine for the second problem, > but I really can't think of a way to solve the first without > frames. You need the client to make a request to the server > to refresh the session, but you don't want anything to happen > to the page you're typing into at the present moment. Frames > seems to be the answer for this. > > - Gyrus > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > - [EMAIL PROTECTED] > work: http://www.tengai.co.uk > play: http://www.norlonto.net > - PGP key available > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

