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  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
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.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Custom Membership Provider & Roles - Roles aren't accessable after logging in
Previous Previous
 
Next Next
New Post 8/20/2007 8:05 AM
User is offline Lynne
44 posts
10th Ranked


Re: Custom Membership Provider & Roles - Roles aren't accessable after logging in 

But I want the pages to be visible after the user is logged in.  I'm just baffled why this doesn't work.  I ran some queries and the user is tied to the role and the role is tied to the page.  You put that code in the page load of each module?  SO then how is the page visible?  Is there something in the web.config that makes the roles turn on?

 
New Post 8/21/2007 12:12 AM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Custom Membership Provider & Roles - Roles aren't accessable after logging in 

Read my previous message.

You have to clear all the CACHE and cookie entries listed in my email above.

If you dont do that then the roles info will not be updated ...

DNN caches the current users ROLE info in a cookie to reduces io overhead from request to request.
This cookie has a 1 minute timeout - so unless you clear this cookie then the OLD role info will be
used when your page gets redrawn.

Westa

 
New Post 8/22/2007 2:25 PM
User is offline Lynne
44 posts
10th Ranked


Re: Custom Membership Provider & Roles - Roles aren't accessable after logging in 

So that block of code will then reset the roles?  What do I declare or dim rather DataCache as?

 
New Post 8/22/2007 3:31 PM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Custom Membership Provider & Roles - Roles aren't accessable after logging in 

datacache is part of the dnn framework.  it is available in any module instanced if portalmodulebase.

You may need to import

Imports

DotNetNuke.Common.Utilities

 

 

But that should be all

Westa

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Custom Membership Provider & Roles - Roles aren't accessable after logging in
 


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.

 


Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com
TMA Resources
TMA Resources is a software company providing eBusiness solutions for the Association market.
www.tmaresources.com

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