adding users to roles asp.net 2.0

ICW

Active member
Joined
Mar 27, 2006
Messages
25
Programming Experience
Beginner
Hi I have a website where people are invited to create a login to view some free stuff. They can then optionally pay to view a page that contains lots of training videos.
I have created "Basic User" and "Paid User" roles.
The videos page load event checks to make sure the user is in the "Paid User" role. If they are not they get redirected.
I can add the users to the "Paid User" role manually using the 'website administration tool' but this means a delay for users.
I want to somehow automtically give them that role as soon as payment is accepted. Can anyone help or guide me in the right direction?
Thanks
 
Back
Top