Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 644965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:27:02+00:00 2026-05-13T21:27:02+00:00

I am using DotNetOpenAuth in my ASP.Net Website. I have modified it to work

  • 0

I am using DotNetOpenAuth in my ASP.Net Website. I have modified it to work with Facebook Connect as well, using the same methods and database structures. Now I have come across a problem.

I have added a Facebook Connect button to a login page. From that HTML button, I have to somehow pull information from the Facebook Connect connection and pass it into a method to authenticate the user. The way I am currently doing this is by:

  1. Calling a Javascript Function on the onlogin function of the FBML/HTML Facebook Connect button.
  2. The javascript function calls a Web service to login, which it does correctly.
  3. The web service calls my data access layer to login.
  4. And here is the problem: FormsAuthentication.SetAuthCookie is set at the data access layer. The Cookie is beyond the scope of the user’s page and therefore is not set in the browser.

This means that the user is authenticated, but the user’s browser is never notified.

So, I need to figure out if this is a bad way of doing what I need or if there is a better way to accomplish what I need. I am just not sure and have been trying to find answers for hours. Any help you have would be great.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:27:02+00:00Added an answer on May 13, 2026 at 9:27 pm

    Yes, it sounds like you are having a design crisis brought on by trying to do too much at one time/in one place.

    If you break this operation up in to two calls from the client you will find your options opening up quite a bit. It might take some more work but ultimately the code will be less complex. <– a good thing.

    And in my opinion, the first clue pointing to a crisis of design would be when I said to myself “Self, having an authentication method buried two calls deep in my DAL is not working the way I would like….” lol…. I am joking and serious same time.

    Good luck.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using DotNetOpenAuth in my ASP.NET website to implement login using other providers
I am using dotnetopenid in my asp.net 2.0 and VS 2005.I have done only
I have been using DotNetOpenAuth v3.5.0.10357 for about a year now and finally decided
I'm using DotNetOpenAuth lib to work with Google(only) OpenId. And I'm retrieving Email without
Introduction We have an OpenID Provider which we created using the DotNetOpenAuth component. Everything
I'm building an ASP.NET MVC site where I want to use DotNetOpenAuth to implement
I have been using DotNetOpenAuth's OpenIdTextBox control on our login page. We used VS
I'm using DotNetOpenAuth as my membership system, and the way I have it working
I'm using DotNetOpenAuth to sign in to Facebook . Here is the code: var
I'm implementing an oauth provider using DotNetOpenAuth CTP library. So I have created an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.