﻿<?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 » WinForms (How do I?)  » Security Login form appears without being called on client desktop</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 09 Sep 2026 23:44:12 GMT</lastBuildDate><ttl>20</ttl><item><title>Security Login form appears without being called on client desktop</title><link>http://forum.strataframe.net/FindPost10225.aspx</link><description>Hello everybody,&lt;/P&gt;&lt;P&gt;For some unknown reason, the security login form appears without being called on client desktop. My .Net project is a&lt;/P&gt;&lt;P&gt;SF project with security. the others projects in the solution are not SF ones. When the SF form is shown on the client desktop, if the form is not active for a while (approximately 10 minutes) the SF security login form appears. Very strange behavior! It happens to me while in dev using the debugger and I though it was related with a thread issue since i had several breakpoints and leaf my desktop in debug. In the Main() from program.cs file, the line (in 1.6 version)&lt;FONT color=#008000 size=2&gt;&lt;/P&gt;&lt;P&gt;//-- Stop the session monitoring before the application exits to remove the low-level event handlers&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;SessionLock&lt;/FONT&gt;&lt;FONT size=2&gt;.StopSessionMonitoring();&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;This line is not in the 1.6.1 version (in your examples). Is it a fix the my problem? If yes, please confirm. I post this issue as a knowledge transfer.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;A quick answer will be greatly appreciated.&amp;nbsp;</description><pubDate>Thu, 12 Jul 2007 09:09:56 GMT</pubDate><dc:creator>Joseph-Carl Theodat</dc:creator></item><item><title>RE: Security Login form appears without being called on client desktop</title><link>http://forum.strataframe.net/FindPost10228.aspx</link><description>Joseph,&lt;P&gt;You are experiencing the session locking and is by design.&amp;nbsp; There are a number of options you have here.&amp;nbsp; You can simply turn off the session monitoring by never calling the StartSessionMonitoring in the AppMain.vb (or program.cs) file.&amp;nbsp; You could also call StopSessionMonitoring() like you had suggested.&amp;nbsp; Or you can lengthen the time before timeout occurs in the Global preferences:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/9c98602b-3395-4578-a036-05a9.png"&gt;&lt;/P&gt;&lt;P&gt;Finally, you can find everything relating to this in the help docs here:&lt;/P&gt;&lt;P&gt;Security Maintenance -&amp;gt; Global Preferences -&amp;gt; Global Preferences Properties&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Security within the Application -&amp;gt; Session Locking&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Defininf Security within the Application -&amp;gt; Programmatic Access -&amp;gt; SessionLock Class -&amp;gt; Methods&lt;/P&gt;&lt;P&gt;[quote]A quick answer will be greatly appreciated.&amp;nbsp;[/quote]&lt;/P&gt;&lt;P&gt;This is our goal for all of our customers.&amp;nbsp; Hope this helps. :)</description><pubDate>Thu, 12 Jul 2007 09:09:56 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>