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

  • Home
  • SEARCH
  • 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 6862857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:42:43+00:00 2026-05-27T02:42:43+00:00

I have a requirement to have multiple iframes on one page, that all interact

  • 0

I have a requirement to have multiple iframes on one page, that all interact with each other. The way our application is laid out requires that those iframes are running in the same session, in order to share data about what’s selected and etc. with the other ones.

The problem is on first page load, both iframes load a URL, which obviously won’t have the session cookie in the request. So both iframes create a new session and put their data into it. However, they both then send their session cookie down, and the last request overwrites the previous ones. From there, both iframes use the same session, but only the last loaded iframe has valid session data in it.

If I refresh the “container” page, everything works fine (because the session cookie is valid).

Unfortunately due to limitations in the “container” application, we cannot specify an explicit order of loading there. Already thought of that solution…

  • 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-27T02:42:43+00:00Added an answer on May 27, 2026 at 2:42 am

    So I got this worked out (I really should have posted this like a year ago)…

    Basically when the user loads the page, I ensure that the session cookie is the same as the currently executing request. So on the #1 request by a particular user, I just proceed as normal, except I make a note that this user has a request going.

    Any requests that come in while #1 is still going with get held up in OnBeginRequest, until #1 has had the session initialized. When #1 gets its session initialized, he updates a shared instance with the session information, and then releases all the other threads.

    Works well.

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

Sidebar

Related Questions

I have multiple image maps on one page, and it's a requirement to setup
We have a requirement to develope an application that support multiple languages (English, German,
I have a requirement that one of multiple fields is required. Using custom validator
I have a requirement that in a webpage I have multiple block of content
In our project we have requirement that, after receiving sms message from third party
I have this requirement, A product can have multiple images and only one default
Someone help me out. I have 2 Iframes and one container.aspx page 1) container.aspx
I have a requirement that goes as follows (trust me, I'm way too old
I am developing an application where I have a requirement that I have to
I have multiple projects that shares child apps with other projects . When working

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.