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