hi,
I have a aspx page that is binded to Master Page with content.
in some cases the user has signed in to asp.net membership and I have login view in the master page.
Otherwise they are not signed in but when they visit a page where the page load is coded below I get
an exception.
protected void Page_Load(object sender, EventArgs e)
{
Guid userid = (Guid)Membership.GetUser().ProviderUserKey;
if (CheckUsername(userid) == true)
{
Label10.Visible = true;
}
else
{
&nbs ...
Go to the complete details ...