User logged in, but opened a second window of the home page, then click Login...
Hi,I am working on a MVC3 web application that also has some web forms code in it, including the Login.aspx page. When user hit Login.aspx, they input their credentails, if authenticated, they will go...
View ArticleHow to automatically redirect affiliate link to a certain page
Hi,I'm working on an application that has an affiliate program. Say John Smith signed up as an affiliate, and he gets a link:http://www.mysite.com/johnsmithNow, when people click on this link, I need...
View ArticleAD Group Names based on user id
hi all,i want to get group names from Active Directory based on User ID, means i want to know UserA associates with which groups?
View ArticlePassword recovery (hashed pasword)
Hi.. I found a password recovery example shown in the link below but I want to apply it using AspNetUsers table which stores hashed passwords. Any suggestion?...
View ArticleDynamic role assignment in asp.net
Hi,I have 5 modulesI need to provide permission for each module in each person. The permission is given to dynamically. I have place each module in separate folderIn asp.net 4.0. Not MVC.If we are...
View ArticleRunning PowerShell scripts inside my asp.net mvc web application. is this an...
I am working on an internal web application which is accessed to only our company AD users. and can only be accessed either inside our network or using VPN. Now inide my application I want to run...
View ArticleUser.IsInRole always return system.string[]
Hi,I am creating menu hide / show using role basedIn my .aspx<% if (Context.User.IsInRole("Admin")) {%><li><a id="admin" href="../../Admin/AdminLanding.aspx"><i class="fa...
View Articlehow to add value in comment field of aspnet_Membership table
how to add value in comment field of aspnet_Membership table
View ArticleI Want to provide only any four users access to the particular page at the...
In My Application I Have Report.aspx and i want to provide at same time only four people can access that page and i want to display restriction page to the fifth user please could you suggest any...
View ArticleUser ANONYMOUS is not allowed to receive the page
Hi,We have a Web Browser control in our application, dynamically url are used to browse pages in Web Browser.We have installed this application in two machines.In One machine its working fine.In second...
View Articleis FederatedSignIn exist ?
I'm using Federation to authenticate users but I have a folder that should allow Anonymous users.I want that the users been called to authenticated when they switch from page that allow anonymous to...
View ArticleFacebook Canvas App authentication x frame options deny
Edit:The problem cause is explained here: http://stackoverflow.com/a/4152929/3994249. Because facebook authentication middleware redirects to http://facebook.com/dialog/oauth but that happens inside...
View ArticleThe current session is not interactive.
I have developed web page for displaying certificates using X509Certificate2UI class. It's working fine when it is running at local host It's displaying all certificates, I could choose the...
View Articleasp.net configuration crushes
this happens everytime i run asp.net configuration Server Error in '/asp.netwebadminfiles' Application.Compilation ErrorDescription:An error occurred during the compilation of a resource required to...
View ArticleMVC application and frontend using same authenticion
Hi all am am working on a frontend backend application. Where the frontend is a asp.net website and for the backend i used a asp.net MVC template. With the WEBAPI In it.I would like use the...
View ArticleHow to save UserId and use it my entire application
Hi,In login.aspx.cs, I have assign session variables like as follows, both id and branchId has vales while debug,HttpContext.Current.Session["userId"] = objusr.Id;...
View ArticleSeparate internet and intranet users data access
I am in the process of deploying an asp.net application hosted by one of our company server. It will be made accessible without login to staff via intranet and to external partners via internet....
View ArticleFormsAuthentication Redirection Login page
I am using Forms Authentication in my ASP.NET MVC Web Application and we are noticing that when the Forms Authentication Cookie times out, rather than redirecting the entire window back to the Login...
View ArticleHow to change primary key for Identity with MySQL as storage provider
I went through this article http://www.asp.net/identity/overview/extensibility/implementing-a-custom-mysql-aspnet-identity-storage-provider and was able to make Identity 2.2.1 work with MySQL as...
View ArticlePasswordRecovery in creating a website not a project
Hi.. I am using VS Express 2013 for web. I created a new website-ASP.NET Web Forms Site. I wonder how to enable Password Recovery. It is only available when creating a web project not a website. I...
View Article