Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 3rd, 2007, 01:29 PM
Registered User
 
Join Date: Jul 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Membership Troubleshooting

Hello everyone,

to begin with for any Wrox people out there. Thank you for everything, your books are the best material I've ever read. :)
Taking the time to thank, since this was my first time posting on these forums, time to move on to my problem.

Using .NET 2.0 new login controls, along with the membership class, I am slowly coming to build a site of my own since I consider it a disgrace to work as a .NET developer, but not have a site of my own ! :)

My problem, is this though. I am using the CreateUserWizard control. I clearly state its property of 'LoginCreatedUser' to false and 'DisableCreatedUser' to true. The reason is, for me to use a custom email authentication that i've built. And then approve the user.

What appears to be the problem though, is that on my main page. I have a list of all online users. The user that just registered, appears as online even though the 'LoginCreatedUser' was set to false. Even worse, the user cannot access any 'authenticated' content. The problem carries on when I log on as a user, and then press log off. Even though I am prohibited from accessing any authentication-needed content, and my .IsAuthenticated property is set to false, whenever I retrieve the user instance using Membership.GetUsers(userName).IsOnline, it shows me to be online.

Why is this happening? Thank you in advance,

Evangelos



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help with asp Membership chobo2 ASP.NET 2.0 Basics 0 December 31st, 2007 02:00 AM
troubleshooting suggesstion darkhalf Javascript 0 March 14th, 2006 02:06 PM
Replication Troubleshooting barjah SQL Server 2000 2 May 24th, 2004 08:06 AM
Error troubleshooting - createmovie.php samgman BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 May 13th, 2004 01:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.