I am using the standard asp login control. If i run it without any code it seems to work fine and if it hits a page that asks if it is authenticated it passes. However if I try to put the authentication cookie in the logged in event it seems to know it has
been logged in, and creates the cookie, but ehrn it returns to thehome page it still has the login link displayed (not logout) and it fails whenever it hits a page that asks if it is authenticated? I assume that because it runs the logged in code it is
loged in - authenticated?
protected void Page_Load(object sender, EventArgs e)
{
RegisterHyperLink.NavigateUrl = "Register";
// OpenAuthLogin.ReturnUrl = Request.QueryString["ReturnUrl"];
var returnUrl = HttpUtility.UrlEncode(Request.QueryString["ReturnUrl"]);
if (!String.IsNullOrEmpty(returnUrl))
{
RegisterHyperLink.NavigateUr ...
Go to the complete details ...