473,800 Members | 2,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LoginStatus Control Issue

Hi Folks,
I'm using the ASP.NET 2.0 LoginStatus control and am having a
frustrating time! I created a basic testbed web site added the control
to the default page, added a login.aspx page with a login control and
edited the web.config to use forms authentication and point to the
login.aspx page. It works beautifully.

However, when I do the same in my my main web app a problem occurs.
When I run the app, the loginstatus control is starting up in the
"already logged in mode" and I don't get an oppurtunity to log in. I
havcen't logged in and clicked 'remember me'.. i never got that chance.

Any thoughts would be greatly appreciated....

Many thanks
Pete

Jul 5 '06 #1
0 1158

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1576
by: clintonG | last post by:
The LoginStatus control does not have a click event. If anybody is at all familiar with this control and can explain how to create a click event I'm ready to learn something new. <%= Clinton Gallagher
0
1661
by: AR | last post by:
I am interested in the best approach for placing a LoginStatus control in a Master page. The reason I'm doing this is so I can always display the "Login" or "logout" link at the top of every page on my site. However, this control needs to be placed inside a <form runat=server> which means that any other page using this as their masterpage cannot include a <form runat=server> tag because only one can ever be on a page. The easy approach...
0
976
by: markmm | last post by:
Hi folks, Im trying to use the LoginStatus Control in a Master page, the login part works fine. When logged in the logout link appears and when clicked it seems to trigger the next button on my forms, instead of logging out. Ive tried setting the LogoutAction to Redirect and LogoutRedirectUrl to the login page but no luck. The master contains the server side form that all pages use. Regards Markm
1
2051
by: frolda | last post by:
Hi, I moved my login.aspx page from root to a subdirectory and made -hopefully- all necessary changes for all Login controls. All the controls work just fine, except one. To my regret, the LoginStatus control still uses the old, root-located login.aspx intead of subdir/login.aspx. What's interesting is that for logout it works perfectly (path to subdir/logout.aspx is recognized OK). Could anyone write me please, where does the...
3
2519
by: Dan Sikorsky | last post by:
How do you get a reference to the LoginStatus control contained in the LoginView control that resides on web.master? I need to determine if the LoginStatus will show a LogOut link(for a logged in user), or show nothing at all (in the case of the user not logged in); Are there any other Membership properties that I can call that tell if the user has already authenticated.? --
2
9890
by: Jeff | last post by:
hey asp.net 2.0 I've placed a LoginStatus control on a master page (so I don't need to have it on every webpage) in my project. When I click on this control to logout, I get this error: A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in
1
2151
by: Newish | last post by:
Hi I am using a LoginStatus control to log users out of the web application. I have a question and an issue: Question: Does this clear all session level variables for the user who logs out. Issue: The logoutaction is to take the user back to the login page. The hitch
1
1758
by: Jimbo | last post by:
Hi, I am using a LoginStatus Control in a c# based .aspx page. The page includes some dynamically created controls. These are set up automatically, depending on what is in the Request object. My page works fine until I click on my logout link. This seems to cause the OnInit and Page_Load events to occur twice - the first is as I would expect, but the second has an empty Request object and the result is that I am
0
999
by: helveticus | last post by:
I am struggling to allow a LoginStatus control reflect its changed state when embedded in a cached page. All pages in my app share a common login user control that basically consists of a LoginStatus ctl and a welcome text. On every refresh, the welcome text is rendered fine via a substitution control. The problem arises with the LoginStatus. Since the LoginStatuscontrol cannot be wrapped within a substitution control, it cannot be...
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10504
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10251
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.