473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

about Membership and Users

I have an application named "wr",and the local destination is "wwwroot\wr",my
default website is "wwwroot". when i create an new user "kkk",i found that,in
table aspnet_Application,the applicationName is "\" but not "wr",and when i
logged on and inserted some data into my table"TbMain",and i found that in
aspnet_Users a new user is added automatically with the same userName of
"kkk",the same Password, but a different userID and applicationID(now ,there
a 2 users named "kkk" in aspnet_Users), the new applicationID refers to table
aspnet_Application's new application named "wr" that is added
automatically(now ,there are 2 applications in table aspnet_Application).

The problem is: the data I inserted have an collumn named"UserID" that is
gotten by "Membership.getUser().ProviderUserKey" , this UserID refers to the
User of the application "wr" ,but not "\" , but the logged on user is the
user of application "\",so i can't find it out by using "UserID =
Membership.getUser().ProviderUserKey" !!
and my database is SQLServer 2000, Membership provider is AspnetSqlProvider.
what 's the matter with that ?
regards!
Nov 19 '05 #1
0 987

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

Similar topics

6
by: Scatir | last post by:
Hi, I have a membership problem I couldn't resolve. I have set up membership as most of tutorial instructed, and I am able to log on, but cannot stay log on for some reason. ex: when I log on, the...
2
by: brown | last post by:
Is it possible to access the authenticated user data using the Membership and MembershipUser classes from an asp.net 2.0 project that doesn't contain the login controls? For example, one project...
4
by: =?Utf-8?B?U2FsYW1FbGlhcw==?= | last post by:
Hi, I am trying to play with the Survey manager application provided gracefully by Microsoft at "http://msdn.microsoft.com/vstudio/express/sql/samples/" VB team(so many thanks), compiled the win...
0
by: Anjan | last post by:
Hi All, I am new to Membership feature in ASP.NET 2.0. I am trying the following scenario. Environment : WinXP SP2 Framework: .NET v2.0, VS.NET 2005. User Data Storage : ADAM. I have an Web...
3
by: Paul | last post by:
Hello All, I am working through the SAMS "ASP.NET 2.0 - Unleased" book to teach myself ASP.NET. It is a great book, but Chapter 21 "Using ASP.NET Membership" is causing me problems - or maybe I...
0
by: =?Utf-8?B?QV9SZXB1YmxpY2Fu?= | last post by:
This is a portion of my Web.config file: <system.web> <membership defaultProvider="SqlProvider"> <providers> <clear/> <add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider"...
3
by: Glenn | last post by:
My current classic-ASP site has users, projects, roles and the 2.0 membership looks like a perfect fit, but I'm having trouble finding examples of how to have users that belong to different...
2
by: gnewsgroup | last post by:
I am working on a membership web application, The logic is like this: 1. All logged-in users can visit Folder1, Folder2, Folder3, but only administrators can access the Admin folder. ...
3
by: dm3281 | last post by:
Hello -- I need to write an ASP.NET 2.0 application for our clients to use to login and verify file transmissions. Each client will need their own logon, in addition to a way to assign each...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.