<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998497.aspx</link><pubDate>Fri, 09 Nov 2007 15:54:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998497</guid><dc:creator>scott@elbandit.co.uk</dc:creator><author>scott@elbandit.co.uk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998497.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998497</wfw:commentRss><description>&lt;p&gt;Good stuff, mines a pint &lt;img src="http://forums.asp.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998494.aspx</link><pubDate>Fri, 09 Nov 2007 15:52:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998494</guid><dc:creator>SuperSharp</dc:creator><author>SuperSharp</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998494.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998494</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I tried the database update and it was still doing the same thing. I added the code to the &amp;#39;LoggingIn&amp;#39; event and it works perfectly! Thank you so much for all your help with this and also to you too&amp;nbsp;cheetahtech :) You guys have saved me! I owe you one.&lt;/p&gt;
&lt;p&gt;- &amp;nbsp;SuperSharp &lt;img src="http://forums.asp.net/emoticons/emotion-11.gif" alt="Cool" /&gt;&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998463.aspx</link><pubDate>Fri, 09 Nov 2007 15:38:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998463</guid><dc:creator>scott@elbandit.co.uk</dc:creator><author>scott@elbandit.co.uk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998463.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998463</wfw:commentRss><description>&lt;p&gt;Hmm have you already logged in today as that user when testing? if so then your real last login date would be today. Have you tried it with a user that has definately not logged in today? better still go into the database and manually update the LastLoginDate column and change the year to last year and try again. We are overriding the authentication and performing it ourselves so the membership provider shouldn&amp;#39;t have a chance to update the LastLoginDate before we put it in the session variable. If you try what I have suggested and it still doesn&amp;#39;t work then you could try and put the lastLogindate into the session variable on the &lt;font size="2"&gt;LoggingIn event, I think this may be called before the authenticate event. Do you see what I mean?&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998450.aspx</link><pubDate>Fri, 09 Nov 2007 15:32:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998450</guid><dc:creator>SuperSharp</dc:creator><author>SuperSharp</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998450.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998450</wfw:commentRss><description>&lt;p&gt;It seems the &amp;#39;LastLoginDate&amp;#39; is updated before we add it to the session veriable. I tried several times, and both the current &amp;#39;LastLoginDate&amp;#39; and the session veriable we created have the same date/time.Would this mean it would need to be created before the authenticate stage? Thanks for your help on this :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;E.&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998447.aspx</link><pubDate>Fri, 09 Nov 2007 15:31:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998447</guid><dc:creator>scott@elbandit.co.uk</dc:creator><author>scott@elbandit.co.uk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998447.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998447</wfw:commentRss><description>&lt;p&gt;No probs I only know this because I have worked with the Membership API agains&amp;#39;t an exisitng user database so I had no choice but to create a Custom MemberShipProvider then I wanted the UserID AND the Username to be part of the MembershipUser object so thats how I got it working.&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998434.aspx</link><pubDate>Fri, 09 Nov 2007 15:26:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998434</guid><dc:creator>cheetahtech</dc:creator><author>cheetahtech</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998434.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998434</wfw:commentRss><description>&lt;p&gt;Wow, Thank you for that link.&amp;nbsp; You learn something new everyday.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998401.aspx</link><pubDate>Fri, 09 Nov 2007 15:13:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998401</guid><dc:creator>scott@elbandit.co.uk</dc:creator><author>scott@elbandit.co.uk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998401.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998401</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;cheetahtech:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;The last login records the last time the user logged in! Under stand the last login is set when the user authenticates.&amp;nbsp; The last login does NOT mean the last time the user logged in and then ENDED his session.&amp;nbsp; So when you see the last login, it means the last time he entered his credentials which is currently that moment in time he is logged in.&amp;nbsp; As for system.web.security.membershipuser&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;br /&gt;Yes I think SuperSharp knows this but wants to display to the user the last time (before this time) that the user logged in.&lt;br /&gt;&lt;br /&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;cheetahtech:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;This is a Wrapped DLL. Compiled code if you will. YOU Cannot change it.&amp;nbsp; Also, when the system.web.security.membershiuser is called, it is a view rather than the actual table.&amp;nbsp; Do you understand views?&amp;nbsp; Views are prebuilt &amp;#39;stored procedures&amp;#39; (look into it, or your site could be hacked using sql injection attacks.) in SQL that shouldn&amp;#39;t be changed &amp;#39;unless expert at work&amp;#39;. Views cannot be edited and updated through a SQL update statement.&amp;nbsp; That means that trying to SET the membershipuser.lastlogin wont work from code behind.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;br /&gt;You can inherit from the MembershipUser Class and extend it to add extra properties, granted you would have to create a Custom MemberShipProvider to retrieve all the extra values but it can be done. Infact in this case you could override the getuser method in your Custom Provider then call the Base class to get the membership user - which if using the default ASP membership database would query the view then you could use this information to create your inherited MemberShipUser object and return that with the extra propety as discussed in this tutorial: &lt;a href="http://fredrik.nsquared2.com/viewpost.aspx?postid=322"&gt;http://fredrik.nsquared2.com/viewpost.aspx?postid=322&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;cheetahtech:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;As for Historic_LastloginDate, you need to create a SQL table and do this your self. This is easily done, just create another table.&amp;nbsp; This should probrably have a stored procedure for it too. I sure hoope that makes more sense.&amp;nbsp; Let me know if it doesn&amp;#39;t and I try a bit harder.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;Yes you could store this in a table or as above&amp;nbsp;use the session object to temporarly hold the last login date, then update the extra property in the cutom membership user object.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998375.aspx</link><pubDate>Fri, 09 Nov 2007 15:01:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998375</guid><dc:creator>scott@elbandit.co.uk</dc:creator><author>scott@elbandit.co.uk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998375.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998375</wfw:commentRss><description>Actually change it to this just incase the Memberhip API out of the box sets the lastlogin date after sucessful validation:&lt;br /&gt;&lt;br /&gt;&lt;font color="#0000ff" size="2"&gt;Protected&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;font size="2"&gt; Login1_Authenticate(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; sender &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Object&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; System.Web.UI.WebControls.AuthenticateEventArgs) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Handles&lt;/font&gt;&lt;font size="2"&gt; Login1.Authenticate&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/font&gt;&lt;font size="2"&gt; userName &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;font size="2"&gt; = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;CType&lt;/font&gt;&lt;font size="2"&gt;(sender, Login).UserName&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; password &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;font size="2"&gt; = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;CType&lt;/font&gt;&lt;font size="2"&gt;(sender, Login).Password&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/font&gt;&lt;font size="2"&gt; aMembershipUser &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; MembershipUser = Membership.GetUser(userName)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Not&lt;/font&gt;&lt;font size="2"&gt; aMembershipUser &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Is&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Nothing&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; Get the real last date and store it in the session&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; realLastTimeloggedIn &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; DateTime = aMembershipUser.LastLoginDate&lt;/p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Session(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;realLastLogInTime&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) = realLastTimeloggedIn&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If&lt;/font&gt;&lt;font size="2"&gt; Membership.ValidateUser(userName, password) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; Got to set this as we are overriding the method&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;font size="2"&gt;e.Authenticated = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;True&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; The lastlogin time will now be updated, but you can acess the real last logged intime&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; from the session variable. You could store this in the profile if you wish.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998332.aspx</link><pubDate>Fri, 09 Nov 2007 14:41:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998332</guid><dc:creator>scott@elbandit.co.uk</dc:creator><author>scott@elbandit.co.uk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998332.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998332</wfw:commentRss><description>Sorry was getting confused and thinking about the Profile API. You could store the last login date in a session variable when on the overriding&amp;nbsp;authentication event like so:&lt;br /&gt;&lt;br /&gt;&lt;font color="#0000ff" size="2"&gt;Protected&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;font size="2"&gt; Login1_Authenticate(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; sender &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Object&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; System.Web.UI.WebControls.AuthenticateEventArgs) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Handles&lt;/font&gt;&lt;font size="2"&gt; Login1.Authenticate&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/font&gt;&lt;font size="2"&gt; userName &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;font size="2"&gt; = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;CType&lt;/font&gt;&lt;font size="2"&gt;(sender, Login).UserName&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; password &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;font size="2"&gt; = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;CType&lt;/font&gt;&lt;font size="2"&gt;(sender, Login).Password&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If&lt;/font&gt;&lt;font size="2"&gt; Membership.ValidateUser(userName, password) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/font&gt;&lt;font size="2"&gt; aMembershipUser &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; MembershipUser = Membership.GetUser(userName)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; Get the real last date and store it in the session&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; realLastTimeloggedIn &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; DateTime = aMembershipUser.LastLoginDate&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Session(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;realLastLogInTime&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) = realLastTimeloggedIn&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; Got to set this as we are overriding the method&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font size="2"&gt;e.Authenticated = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;True&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; The lastlogin time will now be updated, but you can acess the real last logged intime&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&amp;#39; from the session variable.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#39; You could then&amp;nbsp;store this session value&amp;nbsp;in the profile if you wish but do it&amp;nbsp;on the LoggedInEvent as it seems&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39; you won&amp;#39;t be able to access the profile before the&amp;nbsp;user is authenticated - this is what caused your error above &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39; and if you think about it makes&amp;nbsp;perfect sense.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#000000"&gt;Let me know if this works for you.&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998307.aspx</link><pubDate>Fri, 09 Nov 2007 14:27:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998307</guid><dc:creator>cheetahtech</dc:creator><author>cheetahtech</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998307.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998307</wfw:commentRss><description>&lt;p&gt;Oh Boy.&amp;nbsp; You guys are lost.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The last login records the last time the user logged in! Under stand the last login is set when the user authenticates.&amp;nbsp; The last login does NOT mean the last time the user logged in and then ENDED his session.&amp;nbsp; So when you see the last login, it means the last time he entered his credentials which is currently that moment in time he is logged in.&amp;nbsp; As for system.web.security.membershipuser&lt;/p&gt;&lt;p&gt;This is a Wrapped DLL. Compiled code if you will. YOU Cannot change it.&amp;nbsp; Also, when the system.web.security.membershiuser is called, it is a view rather than the actual table.&amp;nbsp; Do you understand views?&amp;nbsp; Views are prebuilt &amp;#39;stored procedures&amp;#39; (look into it, or your site could be hacked using sql injection attacks.) in SQL that shouldn&amp;#39;t be changed &amp;#39;unless expert at work&amp;#39;. Views cannot be edited and updated through a SQL update statement.&amp;nbsp; That means that trying to SET the membershipuser.lastlogin wont work from code behind.&lt;/p&gt;&lt;p&gt;As for Historic_LastloginDate, you need to create a SQL table and do this your self. This is easily done, just create another table.&amp;nbsp; This should probrably have a stored procedure for it too. I sure hoope that makes more sense.&amp;nbsp; Let me know if it doesn&amp;#39;t and I try a bit harder.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998279.aspx</link><pubDate>Fri, 09 Nov 2007 14:14:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998279</guid><dc:creator>SuperSharp</dc:creator><author>SuperSharp</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998279.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998279</wfw:commentRss><description>&lt;p&gt;This may be a silly question; how do I add the new property of &amp;#39;Historic_LastLoginDate&amp;#39; to the membership.getuser? I have trioed adding it to the database &amp;#39;aspnet_Membership&amp;#39; and building the website but it just doesn&amp;#39;t recognise it...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;#39;Error&amp;nbsp;35&amp;nbsp;&amp;#39;Historic_LastLoginDate&amp;#39; is not a member of System.Web.Security.MembershipUser&amp;#39;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;E.&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998195.aspx</link><pubDate>Fri, 09 Nov 2007 13:25:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998195</guid><dc:creator>scott@elbandit.co.uk</dc:creator><author>scott@elbandit.co.uk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998195.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998195</wfw:commentRss><description>&lt;p&gt;&lt;font color="#0000ff"&gt;try:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Protected&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;font size="2"&gt; Login1_LoggedIn(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; sender &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Object&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; System.EventArgs) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Handles&lt;/font&gt;&lt;font size="2"&gt; Login1.LoggedIn&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/font&gt; dtLastLogin &lt;span class="kwd"&gt;&lt;font color="#0000ff"&gt;As String&lt;/font&gt;&lt;/span&gt; = Today()&lt;br /&gt;&lt;br /&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;Membership.GetUser.Historial_LastLoginDate &lt;/strong&gt;&lt;/font&gt;&lt;strong&gt;= Membership.GetUser.LastLoginDate&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Membership.GetUser.LastLoginDate = dtLastLogin&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Then you will&amp;nbsp;be able to always get the true last login date. You could call the property something more meaningful but I think you get the idea.&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1998166.aspx</link><pubDate>Fri, 09 Nov 2007 13:11:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1998166</guid><dc:creator>SuperSharp</dc:creator><author>SuperSharp</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1998166.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1998166</wfw:commentRss><description>&lt;p&gt;I am still getting the same issue. The problem is, after the user is logged in, the &amp;#39;LastLoginDate&amp;#39; is updated so if I try to display it, it just shows that current login not the &amp;#39;last&amp;#39; login. I have treid making a profile with a property &amp;#39;LastLoginDate&amp;#39; but if I try to add to this before the user is logged in - I get the anonymous user error (as above). There must be a way around this but I just can&amp;#39;t get it to work :(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;E.&lt;/p&gt;</description></item><item><title>Re: Last login date issue</title><link>http://forums.asp.net/thread/1997477.aspx</link><pubDate>Thu, 08 Nov 2007 22:53:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1997477</guid><dc:creator>scott@elbandit.co.uk</dc:creator><author>scott@elbandit.co.uk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1997477.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1997477</wfw:commentRss><description>&lt;p&gt;Move your code into the &lt;font size="2"&gt;&lt;strong&gt;LoggedIn&lt;/strong&gt; event, I am not sure if the a&lt;font size="2"&gt;uthentication &lt;/font&gt;ticket is written at this point. So thats why you are getting the annoymous users error.&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;Protected&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;font size="2"&gt; Login1_LoggedIn(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; sender &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Object&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; System.EventArgs) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Handles&lt;/font&gt;&lt;font size="2"&gt; Login1.LoggedIn&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/font&gt; dtLastLogin &lt;span class="kwd"&gt;&lt;font color="#0000ff"&gt;As String&lt;/font&gt;&lt;/span&gt; = Today()&lt;br /&gt;&lt;br /&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Membership.GetUser.LastLoginDate &lt;/font&gt;= dtLastLogin&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;br /&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Let me know if this helps you out.&lt;font color="#0000ff"&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Last login date issue</title><link>http://forums.asp.net/thread/1997336.aspx</link><pubDate>Thu, 08 Nov 2007 21:25:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1997336</guid><dc:creator>SuperSharp</dc:creator><author>SuperSharp</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1997336.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1997336</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Just wondering if someone could help me on a problem I have come accross. I am trying to have a &amp;#39;last log-in date&amp;#39; display&amp;nbsp;in my members area after&amp;nbsp;a user&amp;nbsp;signed in. I have&amp;nbsp;researched to some solutions as to how to do this but haven&amp;#39;t had much luck. I have given it ago but I keep getting the same error with all the tests I do. Below is the code I am using to store the date in the user profiles:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;    &lt;span class="kwd"&gt;Protected Sub&lt;/span&gt; Login1_Authenticate(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; AuthenticateEventArgs)

        &lt;span class="kwd"&gt;If&lt;/span&gt; Login1.UserName IsNot &lt;span class="kwd"&gt;Nothing Then
            Dim&lt;/span&gt; dtLastLogin &lt;span class="kwd"&gt;As String&lt;/span&gt; = Today()
            &lt;span class="kwd"&gt;If&lt;/span&gt; Membership.ValidateUser(Login1.UserName, Login1.Password) &lt;span class="kwd"&gt;Then&lt;/span&gt;
                Profile.FirstName = &lt;span class="st"&gt;&amp;quot;test&amp;quot;&lt;/span&gt;
                &lt;span class="kwd"&gt;Dim&lt;/span&gt; userInfo &lt;span class="kwd"&gt;As&lt;/span&gt; MembershipUser = Membership.GetUser(Login1.UserName)
                userInfo.LastLoginDate = dtLastLogin
                e.Authenticated = &lt;span class="kwd"&gt;True
            End If
        End If

    End Sub&lt;/span&gt;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;-----------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;This code is called&amp;nbsp;from a Login control like so:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;span class="tag"&gt;asp:Login&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Login1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; VisibleWhenLoggedIn=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;False&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; OnAuthenticate=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Login1_Authenticate&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; DestinationPageUrl=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/empServices.aspx&amp;quot;&lt;/span&gt;&amp;gt; 
&lt;p&gt;Here is the error I am getting: 
&lt;p&gt;&amp;nbsp;-----------------------------------------------------------------------------------------------------&amp;nbsp;&lt;pre class="coloredcode"&gt;This property cannot be set for anonymous users. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Configuration.Provider.ProviderException: This property cannot be set for anonymous users.

Source &lt;span class="kwd"&gt;Error&lt;/span&gt;: 


Line 58:         }
Line 59:         set {
Line 60:             this.SetPropertyValue(&lt;span class="st"&gt;&amp;quot;FirstName&amp;quot;&lt;/span&gt;, value);
Line 61:         }
Line 62:     }
 

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ewaassignment3\954aaa6a\cd248fcd\App_Code.-e1loqlf.0.cs    Line: 60 
&lt;/pre&gt;&amp;nbsp; 
&lt;p&gt;&amp;nbsp;&amp;nbsp;-----------------------------------------------------------------------------------------------------&amp;nbsp; 
&lt;p&gt;If anyone could give me any advice or point me in the right direction, that would be great. Thanks very much. 
&lt;p&gt;&amp;nbsp;Edd &lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;&amp;nbsp;</description></item></channel></rss>