Persistent session_id inside an iframe
问题 I have a php system that works fine stand-alone but not when embedded in an iframe. It's embedded in a page on another domain.. and consists of: main.php graps a parameter off iframe-URL, look up in MySQL, sets a session variable and draws a grid. Then, using ajax, tries to get data to display in the grid. - but the ajax.php doesn't have the same session_id() ?!? AND in subsequent ajax-calls for data (to update the grid) the session_id() keeps changing! To recap: ALL my PHP is inside the SAME