Search

You searched for the word(s): userid:651805

Matching Posts

  • Re: Requirements for WD Express ASP Site?

    If you need to use a custom database ( not aspnetdb which is generated by asp.net automatically or aspnet_regsql), you'd better use Sql server. Sql Express is shipped with asp.net 2.0 so that you don't need to buy a sql server just for development purposal. That's the only reason to use sql express--for development environment. To config an asp.net application to use sql server instead of sql express is quite easy. http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx
    Posted to Security (Forum) by zhuhua1006 on 7/16/2006
  • Re: Problem with configuration page

    Sorry I have never seen that kind of error. Perhaps you can take some action to narrow down the issue. For example, not use your custom provider first. Try to use the default providers and sql express, not change anything in web.config. Is there any problem? If you need to use Sql server, then try to config the web.config file to connect to the correct database and see whether it works. If all above steps works, your code for custom provider may have some problem. Please carefully check it.
    Posted to Security (Forum) by zhuhua1006 on 7/16/2006
  • Re: The LoginName control doesnt display the logged in name!

    I have tried your code but loginname control works fine for me. After login, try to check Page.User.Identity.Name, is this value blank?
    Posted to Security (Forum) by zhuhua1006 on 7/16/2006
  • Re: Custom Membership Provider.

    Are you connecting sql server or sql express? Please show your connection string.
    Posted to Security (Forum) by zhuhua1006 on 7/16/2006
  • Re: Add user id to the membership objekt?

    The answer is : yes, it needs query database. So if you want to improve the performance, you can cache it manually.
    Posted to Security (Forum) by zhuhua1006 on 7/12/2006
  • Re: Membership migration

    Are you using SQL Express or SQL Server? You can use SQL Server Management tool (2005) or SQL Enterprise Manager (2000) to create a login for the account "NT Authority\Network Service" and grant proper role for it. If you are using Sql Express, you need to download and install "SQL Server Management Studio Express" first.
    Posted to Security (Forum) by zhuhua1006 on 7/10/2006
  • Re: Passing credentials from a web site to a web service

    Please read this article. Hope it helps. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000023.asp
    Posted to Security (Forum) by zhuhua1006 on 7/10/2006
  • Re: ideas needed , how to implement user management

    I can only advise you to build your own code for user management to meet your own requirement. You can try to use Membership object in the page. That object provide lots of useful method and Almost all the user management operation can be done by it. Here are some sample of Remote Server Administration Tool Mangement of Membership/Roles. http://weblogs.asp.net/scottgu/archive/2006/01/09/434925.aspx For your reference. You can do some changes on it to make it suitable for you.
    Posted to Security (Forum) by zhuhua1006 on 7/10/2006
  • Re: Add user id to the membership objekt?

    You can get the current logged-in user id by Membershup.GetUser().ProviderUserKey. I advise you to store it in the a session variable to improve the performance. Session["UserID"] = Membershup.GetUser().ProviderUserKey.ToString(); There is no such code in provider to do the login job. You can do that by calling FormsAuthentication.SetAuthCookie or FormsAuthentication.RedirectFromLoginPage.
    Posted to Security (Forum) by zhuhua1006 on 7/10/2006
  • Re: Forms Authentication with database and multiple apps - user roles

    Hope that's what you want. http://msdn2.microsoft.com/en-us/library/eb0zx8fc.aspx
    Posted to Security (Forum) by zhuhua1006 on 7/10/2006
Page 1 of 81 (807 items) 1 2 3 4 5 Next > ... Last »