Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Bug in LiveID logoff procudureBug in LiveID logoff procudure
Previous
 
Next
New Post
11/7/2007 7: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 4:18 AM
 

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


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
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 Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
11/28/2007 1:40 PM
 

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 3: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 11: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 MVP, ASPInsider, DNN MVP
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 Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Bug in LiveID logoff procudureBug in LiveID logoff procudure


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out