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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:37:15+00:00 2026-05-16T14:37:15+00:00

Page has a header and an iFrame. The iFrame has content from a 3rd

  • 0

Page has a header and an iFrame. The iFrame has content from a 3rd party app. The 3rd party app is leaded from a different server than the page. The user will spend most of their time in the iFrame.

If the user spends most of their time in the iFrame the top page session will timeout.

What possible ways are there to prevent that? Is there a way to detect post back events in the iFrame and increment the timeout timer in the top page?

Any sample code is appreciated.

Thanks

  • 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-16T14:37:15+00:00Added an answer on May 16, 2026 at 2:37 pm

    You could add another, hidden IFrame on the main page that is set to refresh every 10 minutes (or whatever sits within the session timeout). This would cause the session on the main page to stay alive without the user experiencing any page refreshes.

    EDIT to add requested example

            var frameHTML='';
        function CheckFrame() {
            //get frame BODY
            var frameBody=$("#FFRAMEID1" + _frameNumber).contents().find("body").html();
    
            //Compare
            if(frameBody==frameHTML) {
                //Content has not changed.  Do not refresh main session.
            }
            else {
                //Content has changed.  Refresh main session.
            }
    
            //Set most recent check string
            frameHTML=frameBody;
    
            //Set OTHER hidden frame source to refresh main page (could be replaced by just an AJAX call)
            $('#FRAMEID2').attr("src", 'FRAMESRC');
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an HTTPS page which has an iframe src=https://.... from a 3rd party
I've got a page with a header and a content. The header has position:
I have a page that has 2 areas: header and content. The header should
I have a page that has a header, content, and footer. The header and
i have web page it has a page header content like main menu,logo and
My PHP site has header,body,footer files that are included into the INDEX.PHP page. On
The page has a container div which holds multiple content divs. Each content div
my Page has many hover images, sometimes there are backgrounds from div-elements or src
How do you prevent Firefox and Safari from caching iframe content? I have a
I have a page that has a header, a footer middle section that should

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.