this could work...

do you remember the workround??


On 11/03/2004, at 11:20 AM, Gareth Edwards wrote:


I had a similar problem.. and someone told me to set a cookie, something about the cookie will disappear when you close the browser and you can do things based on if the cookie exists or not. Hrmmm... I found a work around to my problem tho.

Can you not just use an exclusive lock? or set a timeout on the locking of the db?

Gareth.

-----Original Message-----
From: rob [mailto:[EMAIL PROTECTED]
Sent: Thursday, 11 March 2004 10:08 AM
To: CFAussie Mailing List
Subject: [cfaussie] how can i control the close button on a web browser


i have teachers collarbrating online however some of them click the close button before submitting.

I have got a script going so when the teacher goes to the update form
the activity becomes disabled in the db so other teachers cant modify
the same for at once however i am relying on the fact that they hit the
submit form to ensure the activity becomes active to the next person to
modify it.

how can i control close button at the top of the browser sooo...

if close button hit
make activity active
end if

pleas help!

Robert Shaw
Online Learning
[EMAIL PROTECTED]
MLC School
Rowley Street
Burwood  2134
Phone: 97471266
Mobile: 0422222515
Fax: 97453254


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]


MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]


MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004


Robert Shaw
Online Learning
[EMAIL PROTECTED]
MLC School
Rowley Street
Burwood  2134
Phone: 97471266
Mobile: 0422222515
Fax: 97453254


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to