CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.security Tags:
Item Type: NewsGroup Date Entered: 7/24/2007 12:09:07 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 35 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
sophie86
Asp.Net User
Login status control7/24/2007 12:09:07 PM

0/0

hi, can someone plz explain to me how the loginstatus control works? if it says login and i click it, it shud go to the login page? if it says log out and i click it, it shud go to my chosen page? right? i set the logoutaction property to redirect to my chosen page, but where do i set the login action...i.e it must go to the login page? i didnt set it anywhere but wen i run it,it tells me dat my URL:login.aspx cannot be found? but i do have a page named dat in my application???? thanks

XiaoYong Dai –
Asp.Net User
Re: Login status control7/27/2007 6:05:21 AM

0/0

Hi

Would you mind providing more details? Your web.config and code snippet will be most helpful.

LoginStatus can display the login status of the current user.
When the LogoutAction property is set to Redirect, the user is redirected to the URL contained in LogoutPageUrl. <form id="form1" runat="server">
    <asp:LoginStatus id="LoginStatus1" runat="server"
       LogoutAction="Redirect"
       LogoutPageUrl="LogoutPage.aspx"/>       
    </form>

BTW, please make sure anonymous user will not be restricted to LogoutPage.aspx, Hope it helps
<system.web>
<location path="LogoutPage.aspx" >
<system.web>
<authorization >
<allow users="*"/>
</authorization>
</system.web>
</location>
</system.web>


Best Regards
XiaoYong Dai
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Expert ASP.NET 2.0 Advanced Application Design: Advanced Application Design Authors: Dominic Selly, Andrew Troelsen, Tom Barnaby, Pages: 459, Published: 2005
Visual Web Developer 2005 Express Edition For Dummies Authors: Alan Simpson, Pages: 358, Published: 2005
Professional C# 2005 with .NET 3.0 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Pages: 1748, Published: 2007
ASP.NET 2.0 Everyday Apps For Dummies Authors: Doug Lowe, Pages: 504, Published: 2006
ASP.NET 2.0: A Developer's Notebook Authors: Wei Meng Lee, Pages: 326, Published: 2005
A First Look at ASP.NET V. 2.0 Authors: Alex Homer, Dave Sussman, Rob Howard, Pages: 528, Published: 2004
ASP. NET V. 2. 0-the Beta Version: The Beta Version Authors: Alex Homer, Dave Sussman, Rob Howard, Pages: 620, Published: 2004
Beginning Expression Web Authors: Zak Ruvalcaba, Pages: 474, Published: 2007

Web:
LoginStatus Class (System.Web.UI.WebControls) The LoginStatus control has two states, logged in to the Web site and logged out of the ... The LoginStatus control displays either a text or an image link, ...
ASP.NET 2.0 LoginStatus control does not clear Session on Logout NET 2.0 LoginStatus control in a Master page to provide users with an easy way to login / logout of a system. The system performed many functions, ...
What is LoginStatus control in ASP.NET 2.0? LoginStatus Control: This control produces a Login or Logout hyperlink based on the login status of the current user: an anonymous user sees a Login link, ...
Login Status Control in ASP.NET 3.5 Oct 10, 2008 ... This article shows how to use LoginStatus control in ASP.NET 3.5.
How to insert a loginStatus control inside a tree view node - ASP ... Oct 30, 2008 ... Place the Login status control under the TreeView control( outside the TreeView) . Add Logout page ( e.g. : Logout.aspx ) , and add it to web ...
Login Status Control - ASP.NET Forums I have a Login Status Control on a subdomain that I have hosted with godaddy. The problem that I am having is that when i click the login ...
LoginStatus control not rendered - ng.asp-net-forum.security - Fix ... LoginStatus control not rendered, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.security, Date: 11/17/2006 9:54:20 PM, Replies: 2, Views: 10, ...
LoginStatus Web Server Control Declarative Syntax Detects the user's authentication state and toggles the state of a link to display whether the users can log on to or log off from a Web site.
LoginStatus Control Adapter: ASP.NET 2.0 CSS Friendly Control ... The LoginStatus control renders just a single tag whose CSS class can be set using the LoginStatus' CssClass property. In the unadapted form, ...
LoginStatus Control, asp:LoginStatus Control How to use LoginStatus control in asp.net? Working with LoginStatus control in ASP.NET.

Videos:
Asp.Net 2.0 Membership II LoginStatus and LoginView Control - Shalvin Asp.Net 2.0 Membership II LoginStatus and LoginView Control - Shalvin Coordinator Cochin .Net User Group.
ASP.Net 2.0 Membership II : LoginView Control - Shalvin Microsoft ASP.Net 2.0 Membership II LoginView Control (With Voice) - Shalvin Also view : Membership I : LoginStatus LoginName http://www.youtube.co...
Romeo's World: Welcome to the Good Life Romeo adds independence to Reality TV World famous teen entertainer/athlete Romeo is in production on Romeo's World: Welcome to the Good Life -- a r...
33 - Channel customisation This video will briefly take you through channel customisation, on YouTube. It will talk through: - Basic channel information, - Channel design - O...
Shia, Iran, Ali Sina, Robert Spencer & Murtaza Obaid Karki An Outcast Kabbalist Spinoziste Pantheon Hexalingual Automath Former UAE Under Secretary Independant Street-Knowledge Talkshow Guru. Unaf...
Badvertisements: Stealthy Click Fraud with Unwitting Accessories Google Tech Talks September 19, 2006 Dr. Markus Jakobsson, Associate Professor of Informatics at IUB Associate Director of CACR ABSTRACT We descri...
Connexions - Building Communities and Sharing Knowledge Google TechTalks April 11, 2006 Richard G. Baraniuk Richard G. Baraniuk is the Victor E. Cameron Professor of Electrical and Computer Engineering a...
JESUS - English Two thousand years after his death, Jesus of Nazareth remains one of the most fascinating and compelling figures of all human history. Few people hav...
RickRoll'D RickRoll'd OMG OMG OMG OVER 10 MILLION RICKROLL'd! http://tinyurl.com/642wu3 Click for information on the origin of the rickroll, and other facts!




Search This Site:










dnn 3.1, installation issues...

searching a string in a file

using iframe

medium trust and system.io

web site and windows application sharing same code

string formating to decimal

add google adsense javascript code at runtime

iis 6 uptime

dynamic meta tags in content pages

simple q about putting controls in a datalist

redirect on loggedin event

authorizing different privileges in the same page

help! can not create subportals!

dnn module and local resources

dnn and clientcallback

namespace cannot be found, help!

how to avoid re-authenticating users after registration

almost there...but no cigar - treeview

howto config a webapp to access resources

string builder

toolbars are missing on startup

does anyone know of a good tab redirection module for dnn2? -nt

where are all the free modules for the free cms dotnetnuke ?

asp.net 2.0 - menu control - horizontal submenus

dnn 3.1 moving pages up and down

visual web developer crashes all the time... is there an older, stable, non-beta?`

form with post method in repeater control

forms authentication

sql problem

database connection

 
All Times Are GMT