Authentication Authorization ASP.Net Tutorial

<%@ Page Language="C#" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    void Page_Load()
    {
        string cookieName = FormsAuthentication.FormsCookieName;
        string cookieValue = FormsAuthentication.GetAuthCookie(User.Identity.Name, false).Value;
        lnkOtherDomain.NavigateUrl += String.Format("?{0}={1}", cookieName, cookieValue);
    }



    Query String Authenticate


    
    

            id="lnkOtherDomain"
        Text="Link to Other Domain"
        NavigateUrl="http://www.rntsoft.com"
        Runat="server" />