TipsOnLips.net

Your .net tips and tricks source

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010


ASP.NET login via url or page request (Membership)

Lately I had to create a login functionality to an ASP.NET Web application from a coldfusion (or HTML) page and not using the ASP.NET Membership login control, therefor I had two choices: 1) either by implementing the IIdentity interface or by creating a GenericIdentity class as below which I thought it is easier to implmenet.

Therefore, I passed the userid and password (in a SSL environment) to a GenericIdentity object. Then we create a new GenericPrincipal object and assign it to the current thread.

 


Categories: Membership
Posted by developer on Saturday, September 01, 2007 5:43 AM
Permalink | Comments (0) | Post RSSRSS comment feed