<?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>Web Parts and Personalization</title><link>http://forums.asp.net/145.aspx</link><description>Discussions of the new ASP.NET 2.0 portal framework.  &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=167&amp;c=30" 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: can I implement webparts in my project</title><link>http://forums.asp.net/thread/3254899.aspx</link><pubDate>Wed, 24 Jun 2009 09:34:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3254899</guid><dc:creator>stevew1975</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3254899.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3254899</wfw:commentRss><description>&lt;p&gt;i had a similar problem when wanting to use web parts on a login page.&amp;nbsp; &lt;/p&gt;&lt;p&gt;The problem is that when the user is on the login page, they are an anonymous user, as you do not know who they are until they log in.&amp;nbsp; &lt;/p&gt;&lt;p&gt;You need to use the anonymous user authentication trick which is in the above link to make this work on the login page.&amp;nbsp; This will create a cookie and then grab the details from the aspnet database which is created.&amp;nbsp; this work fine, but when logging in you will need a different cookie. &lt;/p&gt;&lt;p&gt;Basically the &amp;#39;members&amp;#39; area of the site will have to be set up as a virtual directory, you will need to create the cookie through the server side code on the login page passing it to the members page.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FormsAuthenticationTicket authTicket = new FormsAuthenticationTicket(&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; 1, login1.UserName, DateTime.Now, DateTime.Now.AddMinutes(30),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;quot;&amp;quot;);&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; string encryptedTicket = FormsAuthentication.Encrypt(authTicket);&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; HttpCookie authCookie = new HttpCookie(&amp;quot;logincookie&amp;quot;, encryptedTicket);&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; Response.Cookies.Add(authCookie);&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; Response.Redirect(&amp;quot;/members/Home.aspx&amp;quot;);&lt;/p&gt;&lt;p&gt;You will need to set up the web.config within the members directory to use this cookue.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hope this is clear and helps.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: can I implement webparts in my project</title><link>http://forums.asp.net/thread/3254553.aspx</link><pubDate>Wed, 24 Jun 2009 06:53:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3254553</guid><dc:creator>vinz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3254553.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3254553</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;jagadeesh_sanapala:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;now my question is how can i implement webparts in my application?i&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See this: &lt;a class="" href="http://www.codeasp.net/blogs/vinz/microsoft-net/214/implementing-asp-net-webparts-with-different-authentication-modes"&gt;Implementing ASP.NET WebParts with Different Authentication modes&lt;/a&gt;&lt;/p&gt;</description></item><item><title>can I implement webparts in my project</title><link>http://forums.asp.net/thread/3254474.aspx</link><pubDate>Wed, 24 Jun 2009 06:19:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3254474</guid><dc:creator>jagadeesh_sanapala</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3254474.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=145&amp;PostID=3254474</wfw:commentRss><description>&lt;p&gt;Present my project is running with 100 users(say a,b,c,d,..)&amp;nbsp;with authentication mode as windows and iam using my own login page where there is my own login detail tables and sp to create the users and save the user information in sql serever 2005 db.and iam not using any kind of membership and roles or profiles in my application since my application runs on windows authentication mode...now my question is how can i implement webparts in my application?if i use how can i save the page deatials of my users.... ?&lt;/p&gt;
&lt;p&gt;when i search in asp.net ..through userdefined personalisation it is possible i found .but when i did that one it is not saving the page state of the users a,b,c who logins into my application .it is saving only one user which is the name of the system&amp;nbsp;adminstrator&amp;nbsp;and after using webparts ,my application is not running in iis&amp;nbsp; when login user selects the modes of the webparts...&lt;/p&gt;
&lt;p&gt;please help in this regards ....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>