﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » Concurrent logins</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 08:52:48 GMT</lastBuildDate><ttl>20</ttl><item><title>Concurrent logins</title><link>http://forum.strataframe.net/FindPost4402.aspx</link><description>Hi there.&lt;/P&gt;&lt;P&gt;Please, would you guys know a way&amp;nbsp;I could limit the number of concurrent logins for the user?&lt;/P&gt;&lt;P&gt;Cheers.</description><pubDate>Tue, 14 Nov 2006 13:54:19 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Concurrent logins</title><link>http://forum.strataframe.net/FindPost4435.aspx</link><description>That's certainly one way to look at it :D</description><pubDate>Tue, 14 Nov 2006 13:54:19 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Concurrent logins</title><link>http://forum.strataframe.net/FindPost4432.aspx</link><description>Nah, it's a free world ... I got to the conclusion that a user should be allowed to log all over the place ... :D</description><pubDate>Tue, 14 Nov 2006 13:25:49 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Concurrent logins</title><link>http://forum.strataframe.net/FindPost4425.aspx</link><description>Oh, hehe, yeah... You might have to create another form and table to store off "additional" user properties.</description><pubDate>Tue, 14 Nov 2006 11:57:24 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Concurrent logins</title><link>http://forum.strataframe.net/FindPost4424.aspx</link><description>No Ben, I mean I need a place to tell how many concurrent&amp;nbsp;logins the user is allowed to. And I think this belongs to the SF Security "Edit User Item" form, doesn't it. This is the place for the user's properties.</description><pubDate>Tue, 14 Nov 2006 11:55:07 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Concurrent logins</title><link>http://forum.strataframe.net/FindPost4419.aspx</link><description>You mean your custom login form?&amp;nbsp; Nah, you just need to put your code in the cmdOK_Click() event handler.&amp;nbsp; If the user hasn't exceeded the concurrent logins, then call the OnAttemptLogin(), otherwise, show them a message and don't call it.</description><pubDate>Tue, 14 Nov 2006 11:32:38 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Concurrent logins</title><link>http://forum.strataframe.net/FindPost4415.aspx</link><description>Great, I will work on it.&lt;/P&gt;&lt;P&gt;One thing, the right place to ask for the number of concurrent logins would be in the security user form ... I didn't want to mess with that.</description><pubDate>Tue, 14 Nov 2006 10:36:27 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Concurrent logins</title><link>http://forum.strataframe.net/FindPost4412.aspx</link><description>No, the traffic to set update the record once a minute would be minimal... only one SQL query.&amp;nbsp; And it will be running on some back thread through the timer, so the user will never even know it's happening.&amp;nbsp; We have discussed adding this functinoality, but we never made a descision on it.&amp;nbsp; So, no promises from us, and if I were you, I would go ahead and implement it :)</description><pubDate>Tue, 14 Nov 2006 10:17:35 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Concurrent logins</title><link>http://forum.strataframe.net/FindPost4410.aspx</link><description>Thanks a lot Ben for the idea ... I was thinking about this way. Do you think the traffic generated to the server every 1 minute, for example, to save the "still-alive" time, would be a major problem in terms of an overall performance? And to you think that this is a feature that you guys would implement in the framework in the future? If so, I will imediately forget it ...;)</description><pubDate>Tue, 14 Nov 2006 08:53:27 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Concurrent logins</title><link>http://forum.strataframe.net/FindPost4406.aspx</link><description>You would need to create a database table of the users currently logged into the workstations.&amp;nbsp; Then, you can manually use Login.AuthenticateUser() to determine whether the user can log into the system.&amp;nbsp; Once you do that, you will need to test that table to make sure no user with that name is already logged in.&amp;nbsp; Then, when the user logs out, remove the record from the tracking table.&amp;nbsp; You will also most likely want to setup a timer on the main form to periodically (say every 15s to 1 minute) go and set the last "keep-alive" time on the record, so that in case the application dies or the workstation locks up, the user record in the tracking table will be "stale" and can be removed if the user tries to log into another workstation.</description><pubDate>Tue, 14 Nov 2006 08:34:29 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>