Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Register a biz object in user login page?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00935700
Message ID:
00935922
Vues:
33
>How do you Register a Biz object in the UserLogin.aspx.cs page?
>The normal method (RegisterBizObj) is not available in the UserLogin page. I noticed the page does not inherit from the standard mmBusinessWebPage.

>I'm using the HookUserAuthenicated method, and want to set some Session variables from some data from the database before leaving the UserLogin page.

You're right...the login form is not derived from mmBusinessWebPage...however, you don't need to register the business object with the form unless you want to take advantage of MM .NET data binding...you can simply instantiate the object and use its services from within the form.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform