HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...Bug in LiveID logoff procudureBug in LiveID logoff procudure
Previous
 
Next
New Post
11/7/2007 4:37 AM
 

When logging off LiveID, a request is sent to the login page with param action=clearcookie... The page should respond with a tiny Gif, signaling to LiveID that logoff was successful... However, the page return the usual html in addition to the gif, making the logout procudure fail when using IE (doesn't happen when using FireFox, but the error is still there)....

What makes this worse is that this is working on www.dotnetnuke.com, but not on other sites I have tested with liveID (including my own, tested with 4.6.0-2 and 4.7).

Here are links so you can see for yourself (open in firefox and view page source):

https://www.dotnetnuke.com/Home/SecureLogin/tabid/1102/Default.aspx?action=clearcookie (working)

http://www.bergverksgata.no/Home/tabid/36/ctl/Login/Default.aspx?action=clearcookie (error, my own site under development)

http://www.moonlightradio.net/Login/tabid/154/language/en-US/Default.aspx?action=clearcookie (error)

I'm assuming this is a bug, and not a configuration error, but why is it then fixed on the dotnetnuke site, and not in any of the 4.6-> 4.7 releases...?

Could someone actually working with the LiveID authentication look at this, probably an easy fix...

 
New Post
11/8/2007 1:18 AM
 

I would be interested to see if this is something that is configuration or other


-Mitchel Sellers
Microsoft C# MVP, MCITP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I recommend PowerDNN and 3Essentials for DotNetNuke Hosting and BaseCamp for project management
 
New Post
11/28/2007 10:40 AM
 

I had the same error, and I fixed it by modifying and recompiling of "LiveID_01.00.00_Source".

What is the server engine and OS you are using (IIS 5, 6 ? or something else)?

If you are interested I will post my changes or send you the recompiled dll.

thanks

 
New Post
11/30/2007 12:05 PM
 

I think, this issue is due to absence of  "End(); " in Login.ascx.cs (see the source of LiveID_01.00.00 on sf)

....
case "clearcookie":
                            /* This action is called when the user tries to log-out.  */
                            // insert your clear cookie logic here */
                            // after cookies are cleared, you must reply to Windows Live ID server
                            // Confirm successful sign out by sending an http response.
                            loginCookie.Expires = ExpireCookie;
                            res.Cookies.Add(loginCookie);
                            string type;
                            byte[] content;
                            wll.GetClearCookieResponse(out type, out content);
                            res.ContentType = type;
                            res.OutputStream.Write(content, 0, content.Length);
                          res.End();   // <----------ADD THIIS MISSING LINE
                            break;
case "login":
.....

According to MS LiveID giude, "clearcookie" should return gif only. In my case, without  "res.End()", it returns HTML code.

After recompiling the "DotNetNuke.Authentication.LiveID.dll"  with this change, it returns a 42-byte gif only and logoff works properly.

Hope this helps.

Peter

 

 
New Post
12/2/2007 8:48 AM
 

Thanks for this information.  If you have not done so it would be great if you could record this in Gemini (support.dotnetnuke.com) so that the core team is aware of the fix.


-Mitchel Sellers
Microsoft C# MVP, MCITP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I recommend PowerDNN and 3Essentials for DotNetNuke Hosting and BaseCamp for project management
 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...Bug in LiveID logoff procudureBug in LiveID logoff procudure


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.