C
Chuck P
Is their a way to read the name and preferably set the name of the
RoleProvider Roles.CookieName.
I have a class
public sealed class MyRoleProvider : RoleProvider
{
public override void Initialize(string providerName,
NameValueCollection providerWebConfig)
{
//this works
this.ApplicationName = "Yada Yada";
//this crashes
if (!string.IsNullOrEmpty( Roles.CookieName))
RoleProvider Roles.CookieName.
I have a class
public sealed class MyRoleProvider : RoleProvider
{
public override void Initialize(string providerName,
NameValueCollection providerWebConfig)
{
//this works
this.ApplicationName = "Yada Yada";
//this crashes
if (!string.IsNullOrEmpty( Roles.CookieName))