Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Setting/removing variables in login/logoff
Previous Previous
 
Next Next
New Post 9/30/2007 5:34 AM
User is offline improwise
66 posts
10th Ranked


Setting/removing variables in login/logoff 
Modified By improwise  on 9/30/2007 9:23:19 AM)
We need to set a few session variables at login time which is then cleared when the user logs out, is there a "best practice" way to do this? I mean, besides actually modifying the DNN Core? We have created our own membership provider to facilitate the usage of client certificates for logins, which could of course handle it, but since that is in the business layer it just doesn't feel right. We could of course also change the definition in the ModuleControls and make our own login.ascx/logoff.ascx but that would also mean that we need to take care when doing future upgrades, and isn't much more pretty than changing in the core itself.

Is there still no "hook" available in the login and logof procedures that can be used for customizing stuff with regards to login/logoff? I tried to search for this topic but doesn't really know what keywords to search for...someone must have done this before. The AuthenticationLogoffBase and AuthenticationLogonBase classes kind of gives the impression that the purpose could be something like we have been looking for, but I am not sure.



/pJ
 
New Post 9/30/2007 7:14 AM
User is offline improwise
66 posts
10th Ranked


Re: Setting/removing variables in login/logoff 
Where is the actuall documentation for the current (new) login/logoff handling in DNN? We had to debug the login process to really get a feeling for the process (and find out that Website\DesktopModules\AuthenticationServices\DNN\Login.ascx is probably what should be changed for loginstuff these days).

/pJ
 
New Post 9/30/2007 5:44 PM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: Setting/removing variables in login/logoff 

at present there isn't documentation for these, it's been worked on AFAIK. The code is the best reference at present. I recommend you take a look at any of the alternative authentication providers such as the openid or liveid ones as they'll give you a good idea how to create your own provider. An alternative to this would be to hook up the necessary events via a httpmodule.

Cathal

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Setting/removing variables in login/logoff
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP