Hello,
I tried posting this yesterday, and I have not seen it yet this morning.
Thinking that something went wrong getting this question posted I am posting
it again. Sorry if this does end up showing up after all.
I would like to add or change to the list of user roles while the user is
logged in to my forms authentication web site.
Say for example that a user logs in to the site and gets user, project, and
accounts for their user roles. Then they go to this section on the site,
answer a few questions, then answers "yes" to some legal text, and clicks on
a submit button. At the time they click on the submit button they then get a
new list of user roles. The user roles for the user are now superuser,
project, accounts, and admin.
Currently I am storing the user roles in a cookie. I am using VB.NET.
Anything that would help me get on to a good path would be helpful, Thanks!
Charles 1 1176
Well, nevermind...
Thanks for those that thought about replying after the lunch hours!
What I did was just recreate the cookie. That seems to work out just great!
Let me know if you think that this is a bad idea....
Thanks again,
Charles
"Charles" wrote: Hello,
I tried posting this yesterday, and I have not seen it yet this morning. Thinking that something went wrong getting this question posted I am posting it again. Sorry if this does end up showing up after all.
I would like to add or change to the list of user roles while the user is logged in to my forms authentication web site.
Say for example that a user logs in to the site and gets user, project, and accounts for their user roles. Then they go to this section on the site, answer a few questions, then answers "yes" to some legal text, and clicks on a submit button. At the time they click on the submit button they then get a new list of user roles. The user roles for the user are now superuser, project, accounts, and admin.
Currently I am storing the user roles in a cookie. I am using VB.NET.
Anything that would help me get on to a good path would be helpful, Thanks!
Charles This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Catherine Jo Morgan |
last post by:
I have TblRoles and TblRoleTypes. The main reason for RoleTypes is to make
it easier to categorize roles for people and organizations. For example,
RoleType entries include Client roles, Climb...
|
by: Mad Scientist Jr |
last post by:
I would like to write a vb.asp.net function
Private Function fn_sGetRoles(byval sDelimiter as string) As
String
that simply returns a delimited list of all the roles a user belongs
to.
I...
|
by: Mark White |
last post by:
Hey everyone
I'm having a great deal of problems finding this information through google
and yahoo, so I turn to you on this.
I have a Windows app running on XP. I am able to caputre the...
|
by: tshad |
last post by:
I am playing with GenericPrincipal classes and am using a sample program to
test it.
The problem is that even though I set the roles (which shows the roles in
the Context.User as being there),...
|
by: ^MisterJingo^ |
last post by:
Hi all,
I've been searching the net for a way to programatically add a user to
a role on successful registration. Not finding anything useful I
decided to experiment and came up with the...
|
by: Matt Adamson |
last post by:
Guys,
I'm unsure how to use windows authentication in an intranet application. I'd
like to user existing windows account to identify users however the issue I
have is how to then add settings to...
|
by: =?Utf-8?B?Q2hhcmxlc0E=?= |
last post by:
hi folks,
I've got XP pro service pack 2 VS 2005 TSE with ASP.net 2.0 and C#
I'm doing an example from Stephen Walther's so far excellent book and he
has a whole load of stuff to add the...
|
by: chromis |
last post by:
Hi,
I've been trying to implement a more OOP oriented approach to dealing with user security on one of my websites, and I am trying to validate the user against an array of roles, however I am...
|
by: John |
last post by:
Hi
How can I programmatically add users and assign them to roles in asp.net
membership?
Thanks
Regards
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |