<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : DevForce LoginManager</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : DevForce LoginManager</description>
  <pubDate>Sat, 11 Apr 2026 02:39:06 -700</pubDate>
  <lastBuildDate>Tue, 10 Jul 2007 02:26:31 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=110</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>DevForce LoginManager : Thanks David ,   My application...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=110&amp;PID=260#260</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=69" rel="nofollow">Darren</a><br /><strong>Subject:</strong> 110<br /><strong>Posted:</strong> 10-Jul-2007 at 2:26am<br /><br />Thanks David , <DIV>&nbsp;</DIV><DIV>My application is working as it should.</DIV><DIV>&nbsp;</DIV><DIV>Thank you again</DIV>]]>
   </description>
   <pubDate>Tue, 10 Jul 2007 02:26:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=110&amp;PID=260#260</guid>
  </item> 
  <item>
   <title>DevForce LoginManager : Darren,  Because you have a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=110&amp;PID=259#259</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 110<br /><strong>Posted:</strong> 09-Jul-2007 at 12:58pm<br /><br />Darren,<DIV>&nbsp;</DIV><DIV>Because you have a LoginManager, each and every one of your PersistenceManagers will need to do a Login.</DIV><DIV>&nbsp;</DIV><DIV>You are correct that if you had decided to use a single PersistenceManager for your entire application, you would not have encountered this exception.</DIV><DIV>&nbsp;</DIV><DIV>If all PersistenceManagers are using the same database and connection string, I would simply do a PersistenceManager.Login(aCredential) where "aCredential" is the credential you used for your initial login (using code borrowed from the Security tutorial).&nbsp; This will avoid having the user fill out the Login Form for each and every&nbsp;MDI form.</DIV><DIV>&nbsp;</DIV><DIV>Since you have multiple PersistenceManagers, you should be aware that any change made using one PersistenceManager will not be seen by any other PersistenceManager (until and unless you do a SaveChanges).&nbsp; You should also be aware that if you save the same kind of entiy from two different forms, you may experience concurrency conflicts.</DIV><DIV>&nbsp;</DIV><DIV>David</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 12:58:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=110&amp;PID=259#259</guid>
  </item> 
  <item>
   <title>DevForce LoginManager : I have followed the Security Tutorial...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=110&amp;PID=246#246</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=69" rel="nofollow">Darren</a><br /><strong>Subject:</strong> 110<br /><strong>Posted:</strong> 09-Jul-2007 at 5:34am<br /><br />I have followed the Security Tutorial and Successfully implemented Logins with my application.<DIV>&nbsp;</DIV><DIV>I have a Mdi Parent which opens up after the login. The MDIParent does not use any PersistenceManagers at all. The MDIParent is basically a switchboard form for accessing other forms of the application.</DIV><DIV>&nbsp;</DIV><DIV>The MDIParent has a few MDIChild Forms which have there own persistence managers. When i open any of the Child Forms i get this error:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>"Failed to login before using PersistenceManager or submitted null credentials." </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I guess this is because i logged in under Persistence.DefaultManger.</DIV><DIV>&nbsp;</DIV><DIV>I have to use seperate PM's for each child as it is the way my app has been designed , i cannot change it to use the one PM.</DIV><DIV>&nbsp;</DIV><DIV>I noticed this comment in the LoginManager Class:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>"Because one must login on every new PM before that PM can access a data source if that PM might have a different extension, you may have to give the SecureUser its own datasource key and route all extensions with this key to the database that holds SecureUser"</DIV><DIV>&nbsp;</DIV><DIV>Is this what i should do and how do i acheive this?</DIV><DIV>&nbsp;</DIV><DIV>Is there a way to solve this issue.</DIV><DIV>&nbsp;</DIV><DIV>Thank You</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 09 Jul 2007 05:34:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=110&amp;PID=246#246</guid>
  </item> 
 </channel>
</rss>