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 8401963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:56:12+00:00 2026-06-09T21:56:12+00:00

In my mvc3 facebook application i detect user if login status = connected or

  • 0

In my mvc3 facebook application i detect user if login status = connected or let him to login
by Facebook login popup.After login i save user Facebook id in session:

HttpContext.Current.Session["CurrentUserFacebookId"] = FacebookId;

The problem is in safari browser. The default settings of safari is to “block cookies from third parties and advertisers”. So session is not saved and user can’t use my application, because all actions check the session.How to solve this problem?Thanks

  • 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-06-09T21:56:13+00:00Added an answer on June 9, 2026 at 9:56 pm

    You can try to do this by setting the header with a simple P3P Policy

    P3P: CP=”IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND
    CNT”

    Or in PHP:

    header(‘P3P: CP=”IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS
    OUR IND CNT”‘);

    Or in ASP.NET:

    HttpContext.Current.Response.AddHeader(“p3p”, “CP=\””IDC DSP COR ADM
    DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\”””)

    But I think after Safari 5.5.1 or so this trick doesn’t work anymore. I think the only way in Safari 5.5.1 or later is to enable 3rd party cookies/sessions by setting “Block cookies” in Preferences -> Privacy to “Never”.

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

Sidebar

Related Questions

MVC3 vb.net Application using built in session management. I have an mvc3 application that
I am adding Twitter and Facebook login to a MVC 3 test application using
My project is a Facebook application developed in asp.net MVC3. I want to check
In a nutshell: Facebook passes my MVC 3 application the following query string after
I’m building an MVC3 application with form authentication and a single hierarchical entity. The
In my MVC3 Application I am using a controller actionresult to return two sets
when I've got an facebook application, there is an Like button, near the name
my mvc3 application runs on an IIS7 with https encryption. Works fine with every
My MVC3 application is using an SQL Server 2008 to store data. In particular
I have an MVC3 application that has a custom HandleErrorAttribute so that I can

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.