<?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>Search results matching tag 'loginUrl'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=loginUrl&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'loginUrl'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Always redirect me to Login?ReturnUrl</title><link>http://forums.asp.net/thread/3516097.aspx</link><pubDate>Mon, 16 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3516097</guid><dc:creator>gulbaek</dc:creator><description>&lt;p&gt;Hi I created a little asp.net mvc test site.&lt;/p&gt;&lt;p&gt;&lt;a href="http://ondeavekat.furious-gaming.com" title="http://ondeavekat.furious-gaming.com"&gt;http://ondeavekat.furious-gaming.com&lt;/a&gt;&lt;/p&gt;&lt;p&gt;But it &amp;nbsp;always redirect me to the login page&lt;/p&gt;&lt;p&gt;&lt;a href="http://ondeavekat.furious-gaming.com/Account/Login?ReturnUrl=/Home/About"&gt;http://ondeavekat.furious-gaming.com/Account/Login?ReturnUrl=/Home/About&lt;/a&gt;&lt;/p&gt;&lt;p&gt;and adds ?ReturnUrl&lt;/p&gt;&lt;p&gt;The css file is also not being loaded.&lt;/p&gt;&lt;p&gt;Everything work locally, this only happens after I uploaded it.&lt;/p&gt;</description></item><item><title>Setting LoginUrl at runtime using FormsAuthenticationConfiguration</title><link>http://forums.asp.net/thread/2973712.aspx</link><pubDate>Sat, 28 Feb 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2973712</guid><dc:creator>rockinthesixstring</dc:creator><description>&lt;p&gt;I am trying to use FormsAuthenticationConfiguration to set my LoginUrl at runtime in my app.&amp;nbsp; I am testing it as follows&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;GLOBAL.ASAX&amp;nbsp;&lt;pre class="coloredcode"&gt;	&lt;span class="kwd"&gt;Protected Sub&lt;/span&gt; Application_BeginRequest(&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; System.EventArgs)

		&lt;span class="cmt"&gt;&amp;#39; Set the LoginUrl.
&lt;/span&gt;		&lt;span class="kwd"&gt;Dim&lt;/span&gt; instance &lt;span class="kwd"&gt;As New&lt;/span&gt; FormsAuthenticationConfiguration
		instance.LoginUrl = &lt;span class="st"&gt;&amp;quot;MyNewLogin.aspx&amp;quot;&lt;/span&gt;

	&lt;span class="kwd"&gt;End Sub&lt;/span&gt;&lt;/pre&gt;&amp;nbsp;&lt;/font&gt;and then using &amp;nbsp;&lt;pre class="coloredcode"&gt;    &lt;span class="kwd"&gt;Protected Sub&lt;/span&gt; Page_Load(&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; System.EventArgs) &lt;span class="kwd"&gt;Handles Me&lt;/span&gt;.Load
        &lt;span class="kwd"&gt;Dim&lt;/span&gt; currentLoginUrl &lt;span class="kwd"&gt;As String&lt;/span&gt; = FormsAuthentication.LoginUrl
        Response.Write(currentLoginUrl)
    &lt;span class="kwd"&gt;End Sub&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;in my Default.aspx.vb page.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem is that it is writing out &amp;quot;login.aspx&amp;quot; on the page...&lt;/p&gt;
&lt;p&gt;Does anyone know what I am doing wrong?&lt;/p&gt;</description></item><item><title>Forms Authentication loginURL property</title><link>http://forums.asp.net/thread/2799728.aspx</link><pubDate>Wed, 10 Dec 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2799728</guid><dc:creator>BigCR5</dc:creator><description>&lt;p&gt;I have an ASP.NET Web Application&amp;nbsp;using VS2005&amp;nbsp;SP1 with the solution containing&amp;nbsp;a couple of VB.NET&amp;nbsp;projects. The one project is for Presentation and the other project is for Security. The startup project is Presentation to a Default.aspx page. When the user is not signed in they need to be directed to the UserLogin.aspx page in the Security project. I have added a reference to the Presentation project for the Security project. Each project has a web.config file where I have set the authentication and authorization attributes in the Presentation web.config and I set the membership, rolemanager and connection string in the Security web.config.&amp;nbsp;I have tried setting the loginURL property for forms authentication to &amp;quot;/Login.aspx&amp;quot; and &amp;quot;~/Login.aspx&amp;quot;. In either case I receive a server error&amp;nbsp;indication &amp;#39;The resource cannot be found&amp;#39;. Not sure what I am doing wrong, any help would be greatly appreciated..&lt;/p&gt;</description></item><item><title>URGENT: How to open a POPUP in the loggedin event of a login control??  </title><link>http://forums.asp.net/thread/2599367.aspx</link><pubDate>Thu, 04 Sep 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2599367</guid><dc:creator>amritbera</dc:creator><description>&lt;p&gt;i want to open a new &lt;span class="__mozilla-findbar-search" style="padding:0pt;background-color:yellow;color:black;display:inline;font-size:inherit;"&gt;popup&lt;/span&gt; window as the user gives proper authentication in the login control, and in the parent window, it should be redirected to the login.aspx page.&lt;/p&gt;&lt;p&gt;i am using&lt;b&gt; &lt;/b&gt;&lt;u&gt;&lt;b&gt;login controls&lt;/b&gt;&lt;/u&gt;.&lt;/p&gt;&lt;p&gt; i cant write any JS in the loggedin event handeller.&lt;/p&gt;&lt;p&gt;and when the user clicks in the logout button(login status control), the &lt;span class="__mozilla-findbar-search" style="padding:0pt;background-color:yellow;color:black;display:inline;font-size:inherit;"&gt;popup&lt;/span&gt; should close(self) and the parent window should show the login control page(login.aspx).&amp;nbsp;&lt;/p&gt;</description></item><item><title>login validation</title><link>http://forums.asp.net/thread/2571246.aspx</link><pubDate>Thu, 21 Aug 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2571246</guid><dc:creator>rahul007jangle</dc:creator><description>&lt;p&gt;hi friends &lt;/p&gt;
&lt;p&gt;i hv design a login form n now m facing one problem &lt;/p&gt;
&lt;p&gt;if&amp;nbsp; after my login .. if&amp;nbsp; i copy my login sucess address bar and paste it in new browsers address bar&amp;nbsp;thn i am able to login successfully without any restriction &lt;/p&gt;
&lt;p&gt;i want to&amp;nbsp; strict these . type of login so ..&lt;/p&gt;
&lt;p&gt;please help me, if any one have code for these then please help.h i am at beginer level in asp.net &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Login</title><link>http://forums.asp.net/thread/2212737.aspx</link><pubDate>Wed, 05 Mar 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2212737</guid><dc:creator>udalbharti</dc:creator><description>&lt;p&gt;&amp;nbsp;I have a web page namely &amp;#39;user.aspx&amp;#39; .there is two textboxes, namely txtusername and txtpassword and 1 button namely btnsubmit&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I want&amp;nbsp; that after entering text in both textboxes , and click button it will save on Array , i dont want to use database table.&lt;/p&gt;&lt;p&gt;and just below there is another textbox namely txtverifyuser&amp;nbsp; , and button namely btnLogin.&lt;/p&gt;&lt;p&gt;i want to enter the name of the user in this textbox , and click the button to check the user exist or not ,&amp;nbsp; which i have just saved in the array.&lt;/p&gt;&lt;p&gt;after clicking the button it will check the user and go to another page namely &amp;quot; www.user.com/welcome.aspx&amp;#39;.&lt;/p&gt;&lt;p&gt;at the same time i will copy the url of &amp;quot;www.user.com/welcome.aspx&amp;quot; and will paste in the other browser , although i have logged in first browser,&amp;nbsp; &lt;/p&gt;&lt;p&gt;i want that 2nd browser will not give me to go directely to this page , it shall be go to &amp;quot;user.aspx&amp;quot; page.&lt;/p&gt;&lt;p&gt;because in the first browser i have already logged in ...how will i do that.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;please help............. if possible write code .&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Login Status control - logon event instead of redirect.</title><link>http://forums.asp.net/thread/2206995.aspx</link><pubDate>Sun, 02 Mar 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2206995</guid><dc:creator>farahota</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;gordonfmoore01&amp;quot;]&lt;/p&gt;&lt;p&gt;&amp;nbsp;newbie here.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m trying to use the logon controls on one page. I have the logon status control visible and the logon control not visible on the same page.&lt;/p&gt;&lt;p&gt;When I click on the logon link, rather than going to a new page (and why do that?) I just want to raise an event so I can make the logon control visible and start using it. Just seems an obvious sort of thing to want happen to me.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If there isn&amp;#39;t a direct way, has anyone the essential code for a custom logon status I could use?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Ta very much :-)&lt;/p&gt;&lt;p&gt;[/quote]&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hello gordonfmoore01,&lt;/p&gt;&lt;p&gt;I too am fairly new to these controls. So, I&amp;#39;m not quite sure about the following.&lt;/p&gt;&lt;p&gt;Unless you&amp;#39;re strict about having the login control on the same page, you can do the following:&amp;nbsp;&lt;/p&gt;&lt;p&gt;Place the login control on a page, say: Login.aspx.&amp;nbsp;&lt;/p&gt;&lt;p&gt;In your web.config file, have something like this in the &amp;lt;System.Web&amp;gt; tag:&lt;/p&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;authentication&lt;/span&gt;&lt;span class="attr"&gt; mode=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Forms&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;      &amp;lt;&lt;span class="tag"&gt;forms&lt;/span&gt;&lt;span class="attr"&gt; loginUrl=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Login.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; defaultUrl=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Redirect.aspx&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;&amp;lt;/&lt;span class="tag"&gt;authentication&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;Redirect.aspx would be the page you&amp;#39;re redirected to when you log in successfully. In that page, I added code to redirect users of different Roles to different pages.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This should do the job.&lt;/p&gt;&lt;p&gt;I found this useful especially if you plan to use MasterPages.&lt;/p&gt;&lt;p&gt;Hope it helps :)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;farahota&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to set/update LoginUrl of form based authentication?</title><link>http://forums.asp.net/thread/2180867.aspx</link><pubDate>Mon, 18 Feb 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2180867</guid><dc:creator>meetpravin123</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have created a web application in which i have two logins, for this I have two different login pages created, now my application is having one root web.config file where I can set the any one loginUrl, but what i can want it is, when user enters in the AREA1 then he should redirect to login page1 and when user enters in secure AREA2 then he should redirect to my second login page?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;how should i do this?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;any help to set or modify the loginUrl of form based authentication dynamically, is it possible or not?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>