----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Sampath_Kumar Message 6 in Discussion Hi , Try this one .. This might slightly eat your network bandwidth , but must be worth the cause . Just introduce a (hidden)frame in your window which takes 0 rows. Now this frame has a script running at every 10 seconds or so , which loads some page say "imalive.asp". This page basically updates the last visited time of that session , which is stored in the application object as a dictionary datastructure (SessionId,LastVisitedTime) . Now on every login check if any element in the dictionary has a timestamp difference > 10 . If so remove them. Now just check if the dictoinary object contains N elements depending on the allowed number of users . If it is less than N allow the login else reject it. Regards Sampath ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
