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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:50:51+00:00 2026-05-31T22:50:51+00:00

I have a jquery widget that get data from a server in another domain

  • 0

I have a jquery widget that get data from a server in another domain (using JsonNp). The server return data from session.
My issue happens in Safari (other browsers works). When I do a request to the server it returns data for new session each time. This happens because Session Id is stored in a cookie (but safari doesn’t allow to save 3rd party crossdomain cookies by default).

I tried changing session State from Cookieless to AutoDetected, but the Session doesn’t work with Safari.

Also I tried the following hack, but it doesn’t work for me for some reasons:

$(function(){
    $('body').append('<iframe id="cookiesHackFrame" name="cookiesHackFrame" src="http://mysite.com/" style="display:none;"></iframe>');
    $('body').append('<form id="cookiesHackForm" action="http://mysite.com/" method="post" target="cookiesHackFrame" >');
    $('#cookiesHackForm').submit();
});
  • 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-31T22:50:53+00:00Added an answer on May 31, 2026 at 10:50 pm

    Well…Since Safary block the 3rd party crossdomain cookie…there is no way to solve…any solution would be a “break” of the security strategy…that is not likely to occurr, There are just towo ways to solve:
    1) changing the browsers settings….however this is something that the user can do…not the server, so one might alert the user to change the security settings once detected the problem.

    2) the 3d party server send the information to put in the cookie to the main server that in turn issues the cookie. This way crossdomain is avoided. The two servers may communicate through a web service(not very efficient…but works).

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

Sidebar

Related Questions

I have created a slideshow widget, using jQuery.UI widgets that works with window.setInterval. I
I am trying to get the jQuery autocomplete widget to get the data from
I have created the widget in Jquery mobile for Tabs. I want that when
I have a jquery calendar widget that do query several event sources on the
again. I have a script that is using the jQuery UI plugin to generate
I get that when developing a jQuery UI widget one must override destroy and
I created some widgets with jQuery UI and I notice that buttons have a
I have a problem: I've add a Jquery UI drag-n-drop widget to my page,
I have jQuery to select all font elements that are children of the element
I have been trying to get a simple example of the jquery-ui autocomplete to

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.