* THIS BIT IS FIXED IN STONE *
We have 1 webpage with 3 iFrames inside. All iFrames point to the same script but pass different querytring values. E.g.
- Webpage: mypage.html
- iFrame1: script.php?x=1
- iFrame2: script.php?x=2
- iFrame3: script.php?x=3
So when a user visits the webpage, they are calling script.php 3 times.
* QUESTION *
Is there a way to get script.php to be aware that it is being called 3 times by the same client/browser/person and then order or queue those calls? E.g.
- 1st time - set an ID and save to session
- 2nd time - get the ID from the session and use it
- 3rd time - get the ID from the session and use it
What's happening to me at the moment is that script.php is being executed 3 times at the same time and each iFrame is setting it's own ID. I'd like them all to use the same ID.
Hope that makes sense?
Thanks in advance for you help.
Ryan