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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:12:50+00:00 2026-05-15T08:12:50+00:00

for developement reasons (working with facebook-connect) i put the connect iframe in an iframe.

  • 0

for developement reasons (working with facebook-connect) i put the connect iframe in an iframe. on that way i am able to work on the connect-thing independent of my ip and don’t have to develop on the live-server.

the iframe holding the connect-button iframe is on my server, accessing the same db-server as the developer version (developer version is running on localhsot).

as far as good … BUT

how can i let the parent site know, that the user has connected, so that i get his profile-picture displayd as reaction to this?
how can i react in generally on an action/event/JS in an iframe? is there a way?
can the iframe post data to the parent site? like a time-stamp and fb_userid?

if the iframe stuff doesn’t work …
i thougt of saving the ip to the fb_userid (to db) and check matches … but i don’t like this idea.

  • 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-15T08:12:51+00:00Added an answer on May 15, 2026 at 8:12 am

    Well thanks to @Sarfraz Ahmed, your post was the inspiration for my solution:

    With the src of the iframe, I send the current session id as GET parameter.

    <iframe src="http://www.online_host.com/scriptxy.php?id_session=<?=session_id()?>"></iframe>
    

    Then the script in the iframe makes a callback after some action, like

    <script>
    location.href="http://localhost/localscript.php?id_session=<?=$_REQUEST['id_session']?>&parameters_here=something";
    </script>
    

    It should be noticed, that the GET parameters name has not to be “sessionid”, or “sessid”, because this is not allowed with the most apache installations.

    In PHP localscript.php, you do something like:

    session_id($_REQUEST['id_session']);
    session_regenerate_id();
    
    $_SESSION['param1'] = $_REQUEST['param1'];
    ...
    

    Now you can access the sessiondata in your current locally running PHP. Together with a triggered AJAX request interval this works good enough for development.

    The thing is, i’m using CodeIgniter (with PostgreSQL and the session-plugin ecko) and getting a memory problem in the PostgreSQL driver script, which i didn’t figure out until now.

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

Sidebar

Related Questions

One of the reasons I usually don't use an IDE for development is that
I work for a software development company and we have around 100 people working
I am in the training of web developement.I have seen in most of the
I am working on an open source C++ project, for code that compiles on
In the software development environment where I work we have a group of developers
I have spent some months working on a web application and we're come close
I am working on a GUI application that will be used to perform manual
My company doesn't allow the use of boost (for many stupid reasons, but that's
I am training in web developement and am learning about JSP & Servlets .
Our development team work with Borland C++ Builder 6 and CodeGear C++ Builder 2007

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.