views:

43

answers:

1

I'm using a custom role provider (written by another developer) that uses our active directory username (obtained from HttpContext.Current.User.Identity.Name) along with a SQL table.

Anyways, when I update my SQL table to update my roles I need to close my web browser (Internet Explorer 7) in order for my new security to become effective.

I've tried using Session.Abandon() but that doesn't help.

How can I refresh my security?

Ideally I want something like: Roles.RefreshCurrent()

A: 

Delete the roles cookie and force a postback.

.ASPXROLES

http://msdn.microsoft.com/en-us/library/ms178195.aspx

Sky Sanders
That worked perfectly. Thanks!
SofaKng
Glad I could help.
Sky Sanders