if ((SubmitterRecord)Session["CurrentUser"] != null) { SubmitterRecord SubmitterRec = new SubmitterRecord(); SubmitterRec = (SubmitterRecord)Session["CurrentUser"]; LiteralLoggedIn.Text = SubmitterRec.UserID; userpanel.Visible = true; loginpanel.Visible = false; } else { loginpanel.Visible = true; userpanel.Visible = false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)