Hi Thanks for the excellent replies
I have a log off feature which is a little piece of javascript <SCRIPT LANGUAGE="JAVASCRIPT"> function confirmDelete(aURL) { if (confirm("W A R N I N G ! Are you sure you wish to log off")){ document.location=aURL; } } </SCRIPT> <a href="javascript:confirmDelete('../logoff.cfm')">Log Out</a> which sends the user to logoff.cfm. Contained in logoff.cfm is the following CF Code <cfapplication name="users" sessionmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,0,0,0)#"> Which ends their session. Both ideas seem very usefull, just would like to implement the most consistent and efficient method, so I would appreciate your views on the best example to use? Using Jasons example I would add another field to my Oracle usertable called logged_in. However how would I set that field when the user logs in???? Any code examples of how to achieve the above ?? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4