Use an onclose javascript to call a page that deletes their name out of the
structure, then close that page via java (since you opened with java,
netscape shouldn't kick an error to the user).  If deleting the struct key
is all your doing, it will be almost invisible.  I Would also check to see
if they have java is enable as they are logging in, and if possible, make
that a requirement.

Christian,
SkillPath Seminars
[EMAIL PROTECTED]

-----Original Message-----
From: Chad McCue [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 2:08 PM
To: CF-Talk
Subject: Killing a Structure


I am trying to find a good way to clear a structure when a user closes 
their browser window. My application calls for creating a structure of 
users as people log in. This structure will not allow the same Users to 
log in twice or any other user to log in with the same username and 
password as someone who already is logged in. 
    
The problem is when the user closes their browser,  I need to delete 
that user from the structure. Any ideas for this would be great. 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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

Reply via email to