J7Mitch wrote: |
Wow, that is freaky. You know, if you
can get on the server that IIS is running on and try logging in from
there it might work. It sounds like maybe something between you
and the server is keeping you from getting the Auth cookie. This
can happen with some firewalls or proxies.
You can also look in your cookies folder locally and see if the one for that domain is getting updated at all. |
|
I'm running locally.
In the code I see when the Authentication Cookie is being set (in PortalSecurity.vb) during login:
FormsAuthentication.SetAuthCookie(Username, CreatePersistentCookie)
However, when in default.aspx after postback, in the InitializePage, the following is FALSE:
If Request.IsAuthenticated = True Then
Shouldn't it be true?
Also, there are 2 cookies set:
? request.Cookies(0)
{System.Web.HttpCookie}
Domain: ""
Expires: #12:00:00 AM#
HasKeys: False
Item: <cannot view indexed property>
Name: ".ASPXANONYMOUS"
Path: "/"
Secure: False
Value: "AcWZKD-qGoJmNTZkMTRlZi0zNGYwLTQ4NmUtYTVmOC1hZjI4NzY2YjBmNTQ1"
Values: {System.Web.HttpValueCollection}
? request.Cookies(1)
{System.Web.HttpCookie}
Domain: Nothing
Expires: #12:00:00 AM#
HasKeys: False
Item: <cannot view indexed property>
Name: ".DOTNETNUKE"
Path: "/"
Secure: False
Value:
"10B94E7259DF065ED7C6488098B8F9E826F3FEE2B851EC65A5B3DB8E5C50A7BE61FACC3F0B2DBA6A8021C12628B33C41FC2D416BC0FB116952DB800F77E3C9FA"
Values: {System.Web.HttpValueCollection}
Kurt Stricker
Twin Bridge Consulting, Inc.
www.twinbridgeconsulting.com