Ask a questionAsk a question
 

StickyFAQ: Sign in/out errors

  • Tuesday, November 06, 2007 11:01 PMAlex MediaMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    If you are unable to sign in or sign out to your web application, there could be a number of reasons. I will try to address the most commonly made mistakes here.

     

    I am using the iframe and I'm not signed in, but the iframe tells me I am.
    Check your return URL in the Microsoft Services Manager (MSM). The return URL should be of your handler page, not of the index-page of your website. If you own www.contoso.com and have a handler page set up at www.contoso.com/handler.php, enter that URL in the MSM.

     

    Please note that the handler URL can't contain a querystring. www.contoso.com/index.php?action=liveid/login will not work. If you are unable to use the page without the query strings, consider URL-rewriting.

     

    I am using the iframe and I can sign in, but I can't sign out. The sign out-page gives a red cross.

    The sign-out page makes a call to every site the user is signed in on. The sign out-process on each website returns a clear, transparant GIF-image (size 1x1), the sign-out page "reads" the image and if it's ok, the green checkmark is displayed. If something is wrong with the image (no data returned, or non-image-data), a red cross is displayed.

     

    Make sure your webauth handler returns only a 1x1 clear pixel. No less, no more. If you return HTML or anything other, it will trigger an error. Check your handler page by visiting http://www.contoso.com/handler.php?action=clearcookie. This is the URL that the sign out-page will use: handler_url + "?action=clearcookie".

     

    I am not using the iframe and I can't sign in.

    Check your handler-URL (see above).

     

    I am not using the iframe and I can't sign out.

    If you can sign in, but can't sign out, your handler URL is correct, but clearcookie returns the wrong data. See above.

     

    I am not returned to my website when I click Sign in.

    Check your application ID in your configuration file and in your links. If the application ID is incorrect, the Live ID-servers are unable to tell where the user is coming from, and will either: not process the request or send the user to the wrong website.

     

    I can't reach the MSM!

    Are you using the right address? The correct URL is https://msm.live.com/app/default.aspx. If it's unavailable, please try again later.

     

     

    ---

     

    I hope this post helped solving the most commonly made mistakes. If you have any questions, suggestions or something that's missing, please post them and I will update this FAQ.

All Replies

  • Sunday, November 09, 2008 3:03 AMserkz Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    mann last night my email got hacked, and ive done everything in my power to gain control of it again but didnt work :( i was talking to friends when i got signed out and the box appeared saying You have signed in to another computer, so i started freaking out, i clicked the box to sign back in, kept getting signed out like every 2 seconds, i done that for like 15+ times straight till the hacker gave up, i changed my password, but my secret question was something i didnt know, and i didnt think of at the time to change it around, then the next morning i tried to log in and my password was changed again

    PLEASEEEEEEEEE HELP ME !!! i cant lose that email! i at least need my contacts list saved somewhere :(

    if you got any advice PLEASE email me to my secondary email at serkz-@hotmail.com

    thank you in advance
  • Sunday, October 25, 2009 8:20 AMQuynh Hoa Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I has created an ACC Windows LiveID, but I can't download anything form it. What shout I do ?