membership

Membership provider to use or not to use?

时光怂恿深爱的人放手 提交于 2019-12-22 10:28:55
问题 I am developing a website that uses Facebook. Now for managing users I thought of using MembershipProvider and chose to develop a custom membership provider. My problem is that my database schema doesn't match the standard membership schema and the functions provided to override take different arguments than I expect. For example, membership uses username as a username to log in. But I have to use user email ID as the username. Also its searching functions are based on using username as a way

How to remove device from apple developer account while resetting device list

笑着哭i 提交于 2019-12-22 08:22:43
问题 We have already reached to iPhone device limit so we are not able to add new iPhone to our developer accounts device list. We have renewed our membership for our apple's developer account. and it is asking us to reset our device list. but when we proceed to reset device list, but we are not able to remove device from device list. but on next page it is not changing the count of no of devices able to register So it is confusing for me will it remove the deselected devices and let me add new

Memcached chunk limit

萝らか妹 提交于 2019-12-22 04:38:10
问题 Why is there a hardcoded chunk limit (.5 meg after compression) in memcached? Has anyone recompiled theirs to up it? I know I should not be sending big chunks like that around, but these extra heavy chunks happen for me from time to time and wreak havoc. 回答1: This question used to be in the official FAQ What are some limits in memcached I might hit? (Wayback Machine) To quote: The simple limits you will probably see with memcache are the key and item size limits. Keys are restricted to 250

ASP.NET FormsAuthentication and membership

僤鯓⒐⒋嵵緔 提交于 2019-12-21 23:07:44
问题 I can use forms authentication in ASP.NET without membership. i.e: FormsAuthentication.RedirectFromLoginPage(usuario.UsuDs, false);//usuario.UsuDS is the textbox username in login's form Then i can write code like: [Authorize(User="UserTest")] public ActionResult Criar(Usuarios usuario) { try { ... } ... } And it only authorize "UserTest" user in especific views. However,i would like to write: [Authorize(Roles="Admin")] public ActionResult Criar(Usuarios usuario) { try { ... } ... } But i

Implement Custom MembershipUser and Custom MembershipProvider

╄→гoц情女王★ 提交于 2019-12-21 21:04:10
问题 I try to implement a Custom MembershipPriver with a Custom MemberShipUser in my own database (with a specifics Users Table Model) : This is ly diffent files : iTwitterMembershipProvider.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using System.Collections.Specialized; using iTwitter.Models; public class iTwitterMembershipProvider : MembershipProvider { public override string ApplicationName { get { return _ApplicationName;

How should I manage membership in my ASP.NET MVC 4 app?

不想你离开。 提交于 2019-12-21 16:19:55
问题 As I'm in the process of creating my first ASP.NET MVC 4 Internet application, I'm wondering how to best manage membership on the site. The app allows users to register and log on. I'm interested in finding out how to implement a complete solution for managing site membership, including an administrative user interface. How should I go about adding membership administration facilities to my app? I'm primarily considering two different NuGet packages to base my solution on, SecurityGuard.MVC4

Extend Membership API, MembershipUser

折月煮酒 提交于 2019-12-21 05:49:23
问题 I created my own database schema to store user information. CREATE TABLE [dbo].[MyCustomMembership_Users]( [UserId] [uniqueidentifier] NOT NULL, [UserName] [nvarchar](256) NOT NULL, [LoweredUserName] [nvarchar](256) NOT NULL, [MobileAlias] [nvarchar](16) NULL, [IsAnonymous] [bit] NOT NULL, [LastActivityDate] [datetime] NOT NULL, [FirstName] [nvarchar](256) NULL, [MiddleName] [nvarchar](256) NULL, [LastName] [nvarchar](256) NULL) Then I extend the MembershipProvider and MembershipUser and

What happens to my Enterprise apps after my Enterprise developer account membership expires?

南笙酒味 提交于 2019-12-21 05:09:07
问题 I have an Apple Enterprise account. My three apps are distributed to my users from this account. I do not use App Store to distribute these apps as these are Enterprise apps. Now if my Enterprise Developer Program Membership expires then what are the answers of these questions: What will happen to my currently running apps on user devices (remember apps are not distributed via App Store)? What will happens if the user does a fresh install of my app? What will happen to my current account,

what is the best way to make some pages in asp.net require login?

好久不见. 提交于 2019-12-21 04:48:30
问题 I am working with asp.net website project that some of pages need authentication. I am using asp.net membership. I read some answers. e.g. make all of those pages in folder and create inner web.config that describe the privilege. This is one way solve the problem but I need way that is more fixable and effective. 回答1: If you don't want to hard code this in web.config(s) you will need to implement a "Base Page" type control. Your base page class should inherit from System.Web.UI.Page, and

MembershipUser.IsOnline is true even after logout

本秂侑毒 提交于 2019-12-21 03:41:10
问题 I'm currently creating a website using Visual Studio 2010. I'm using the default membership schema in SQL Server 2008 for user authentication. Now I'm facing the following problem. When a user logs out, the membership.IsOnline property of that user should be set to false. However that it is not happening; membership.IsOnline property of that user is still true. I'm using the LoginStatus control to provide a logout link to the user. I have tried to follow User.IsOnline = true even after