Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0User Role status delay in updatingUser Role status delay in updating
Previous
 
Next
New Post
6/27/2008 1:43 PM
 

I've created a module that allows the user to both Register and Subscribe to my site and not have to go through the "Edit Acct Profile -> Manage Services -> Subscribe" path.  The module collects user info, creates a registration for them, then automatically sends them to PayPal to pay for their subscription.  Everything works on that end - the user is added to Registered Users as well as Subscribers (verified by going through "Edit Profile -> Manage Services").  They are then sent back to the site homepage, but the information that should be visible as a "Subscriber" takes a while to refresh. (appx 30 seconds).  I have tried reloading via the "Home" menu, F5, Ctrl-F5, but nothing refreshes until appx 30 seconds after the user has been redirected to the homepage after paying for the subscription.  It also occurs when I go through the 'normal' DNN Unsubscribe (it takes appx 30 seconds for the 'protected info' to be removed from the now unsubscribed user).

Is there something built into DNN that is preventing a refresh for certain periods of time?  Is there some type of data manipulation that is taking forever to process?

Any ideas?

CJ

 

 
New Post
6/27/2008 7:34 PM
 

I have recently moved to the subscriber "model" and am processing subscriptions via Paypal.  I have seen this issue recently where the roles are not apply immediately.  However, when I check that roles all is as it should be.  Typically I get an E-mail ask what's up... and by the time I respond, the user can access the the role based pages without issue.    I am using the Ventrian Subscription module which works well.  I tested by purchasing subscription from the live site when implementing and didn't  have an issues, so this may by an intermittent problem.

One thought, but I haven't be able to comfirm it.  I am using DNN V4.8.3 and have enabled the "remember me" feature via Web.config as per Cathal's blog.  I am wondering if that may be the cause of delay.  At this point just a "theory".

Any sugguestions would be appreciated.
Paul

 
New Post
6/30/2008 12:07 PM
 

Yep.  That's the same issue I am having.  I haven't gone live with the site yet, but I foresee having the same issue you're talking about -- people say they can't access the info they just paid for, but by the time I get there to "fix" it, it has refreshed and is working.  The only thing I can think of right now as far as a workaround is having the 'Subscribe' returnurl point to a text page saying "Give us a few minutes for our database to update."  It's very clunky and not very professional-looking to the end user, but at this point I don't know what the problem is.

FYI:  I wrote my own "Subscription Module", so it isn't Ventrian causing the issue.  It also makes me feel better to know that somone that paid for the good module is having the same issues.  I was beginning to think there was something wrong with my code.

I am using DNN 4.8.4.  Have you tested the "Remember Me" as 'Off' yet?

CJ

 
New Post
6/30/2008 12:25 PM
Accepted Answer 

all,

the remember me checkbox should not effect your solution(s) here, as that only effects the creation & duration of the forms authentication ticket. role's are serialised into the portal roles cookie, which has a lifetime of 1 minute, so this is likely to be the cause of your delay (though depending on the code the cached user may effect it also).

I posted on this along with suggested code to "force" a reload of the cookie/cached user @ http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/110/threadid/188987/scope/posts/Default.aspx , hopefully that will solve your issue.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/30/2008 12:36 PM
 

Great!  That's what I was looking for.  I don't know why I didn't see that in my forum search.

Thanks for the help!

CJ

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0User Role status delay in updatingUser Role status delay in updating


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out