Just a meta-refresh, passing URLToken or hitting a client variable, just to
update the LVISIT column in the CGlobals table. Write an SQL query:
select * from cglobals
where lvisit > #now(dateadd(90 seconds in the past)#
This code won't run. Build from it, it's not a hard query to write.
Good luck,
NAT
> -----Original Message-----
> From: Toby Tremayne [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 3:25 PM
> To: Fusebox
> Subject: RE: hidden frame
>
>
> That's the bit I was asking abouit Nat - is it simply a continual
> meta-refresh and a test to see if they're still around? And what would be
> the best way to verify whether a session is still valid?
>
>
> Toby Tremayne
> Code Poet and Zen Master of the Heavy Sleep
> Show Ads Interactive
> 359 Plummer St
> Port Melbourne
> VIC 3207
> P +61 3 9245 1247
> F +61 3 9646 9814
> ICQ UIN 13107913
>
> -----Original Message-----
> From: Nat Papovich [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 20 March 2001 6:26 PM
> To: Fusebox
> Subject: RE: hidden frame
>
>
> OnUnLoad() sucks, as you mention. But a meta-refresh on the frame does the
> trick simply.
>
> > -----Original Message-----
> > From: Stephen Garrett [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, March 19, 2001 11:24 PM
> > To: Fusebox
> > Subject: Re: hidden frame
> >
> >
> >
> > With a hidden 1Px tall frame, you could put an "onunload" clause such
> > that a call to your server is initiated. This could then log information
> > for your use. Typically this would be when a new URL was typed or
> > bookmarked.
> >
> > However this method is not foolproof.
> > A simple example is simply exiting the browser. The unload function is
> > never called.
> >
> > For another example, I use Eudora as an
> > email client and lauching a webpage from the client will cause the last
> > selected _frame_ (IN netscape) to take on the new page. So in this case,
> > the hidden frame would not be unloaded and would not trigger
> the function.
> >
> > hth,
> >
> > Steve
> >
> > At 04:47 PM 3/20/2001 +1100, Toby Tremayne wrote:
> > >I was flicking over a section of the fusebox book again, and I
> noticed a
> > >small paragraph I'd forgotten about - regarding the use of
> > hidden frames to
> > >tell when a user has left the site. The reference is on page
> 138 in the
> > >"Use Frames to... improve session management"
> > >
> > >Could anyone elaborate on this paragraph for me somewhat? I'm
> > perhaps being
> > >a trifle thick, but I didn't quite take in whatever it was
> > trying to say -
> > >and I could do with just a little clearer explanation if
> someone has the
> > >time...
> > >
> > >Toby
> > >
> > >
> > >Toby Tremayne
> > >Code Poet and Zen Master of the Heavy Sleep
> > >Show Ads Interactive
> > >359 Plummer St
> > >Port Melbourne
> > >VIC 3207
> > >P +61 3 9245 1247
> > >F +61 3 9646 9814
> > >ICQ UIN 13107913
> > >
> > >
> >
> > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists