i got hte sessiontracker stuff from a site on the web,
<CFSCRIPT>
function getSessions(appName) {
var tracker =
createObject("java","coldfusion.runtime.SessionTracker");
return tracker.getSessionCollection(appName);
}
</CFSCRIPT>
And then dropped this in the process_login.cfm file
<CFIF NOT
ArrayIsEmpty(StructFindValue(#GetSessions(application.applicationname)#,#form.us
er_name#,"ONE"))>
The user has been logged in already. You cannot login to the system a second
time beatch!!
<CFABORT>
</CFIF>
And that takes care of preventing multiple logins.
-Gel
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
