Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Z

zanzibarwinds

@zanzibarwinds
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Membership.UserName Error - Security/Roles
    Z zanzibarwinds

    Hi Thanks for your reply. Auth mode is set to forms already. The code sample shown runs on the Login control's "LoggedIn" event which is after a successful user authentication. The value of User.Identity.Name is coming through successfully as the user whom logged in.

    ASP.NET help csharp asp-net security

  • Asp.net 2.0 cookieless="usecookies" not working
    Z zanzibarwinds

    The cookieless attribute is a boolean, use either TRUE or FALSE

    ASP.NET help csharp asp-net security debugging

  • what is Smtpserver address..?..plz:)
    Z zanzibarwinds

    Smtp is the address of the hosting emasil server. It can be either in the form of: pop3.myemailserver.com or smtp.myemailserver.com

    ASP.NET question com sysadmin help

  • Membership.UserName Error - Security/Roles
    Z zanzibarwinds

    Hi I cannot figure out why I get the error listed below with this chunk of code which is used with the ASP.NET 2 Login control. Error: ---------------------------------------------------------------- System.NullReferenceException: Object reference not set to an instance of an object. ASPUserUID = myMem.UserName; // Offendeding line Code: (This function runs when the user is authenticated) ---------------------------------------------------------------- protected void UserDetailsStore(object sender, EventArgs e) { global_functions gf = new global_functions(); string myUserName = User.Identity.Name; string ASPUserUID; MembershipUser myMem = Membership.GetUser(User.Identity.Name); ASPUserUID = myMem.UserName; } I've tried using ASPUserUID set as a Guid data type to no avail. ANy help in this regard would be greatly appreciated. John

    ASP.NET help csharp asp-net security
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups