Thursday, March 29, 2012

Login control with Oracle possible?

I'm migrating a perl with Oracle website to a .net with Oracle website. Is it possible to get the login control to work with an Oracle database where I specify where the login information is held?

I'd rather not reinvent the wheel by writing my whole login/authentication script by hand.

Thanks!

Yes you can. The .NET Framework has a built in Provider for oracle. In the login control, simply put your authentication logic in the OnAuthenticate event of the login control.


You can use this Membership Provider for oraclehttp://www.crlab.com/oranet/
Yes that is possible as well, however I assumed that he has an already existing database with all of the users in them.

jhilden:

I'm migrating a perl with Oracle website to a .net with Oracle website. Is it possible to get the login control to work with an Oracle database where I specify where the login information is held?

I'd rather not reinvent the wheel by writing my whole login/authentication script by hand.

Thanks!

There is Oracle provider code for 10g RC2 in both C# and VB provided by other developers, you could check them out it helps if you are running XP and above with at least 1gig of ram. If you are running 9i and below then check out the link provided by Albert Corelab sells third party drivers to most RDBMS(relational database management systems), another vendor is Datadirect these drivers a usually better than the generic free ones provided by Microsoft or Oracle. These should get you started. Hope this helps.

http://www.radicaldevelopment.net/Projects/OracleProviders.aspx

http://www.ben-rush.net/source/OracleProviders/


vcsjones:

Yes you can. The .NET Framework has a built in Provider for oracle. In the login control, simply put your authentication logic in the OnAuthenticate event of the login control.

double clicking on the login object created the methodprotected void Login1_Authenticate(object sender, AuthenticateEventArgs e), I just dropped the custom code into there and sete.Authenticated = true; when the user sucessfully authenticated.

Thanks everyone!

0 comments:

Post a Comment