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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:47:54+00:00 2026-05-31T21:47:54+00:00

I have an ASPX page which has an iFrame in it the source of

  • 0

I have an ASPX page which has an iFrame in it the source of which is an ASPX file as well, on the same domain. What I’m trying to do is – set a Session variable in the parent ASPX file and then access that variable in the file loaded in iFrame. However my inner file (loaded in the iFrame) does not seem to recognize the Session variable from the parent file and I’m simply getting an “Object reference not set to an instance of an object” error on the line where I’m trying to read the value of the Session variable. Could anybody give me a hint on what I’m doing wrong?

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-31T21:47:56+00:00Added an answer on May 31, 2026 at 9:47 pm

    Thanks for your responses. I actually resolved the issue. The case was that the folder where the parent file was located was an Application while the one which was the child (loaded in the iFrame) was outside of that Application. Simply removed the Application and it worked.

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

Sidebar

Related Questions

I have an iFrame which has it's source set to another aspx page. The
i have a default.aspx page which contains a iframe, whose source is set to
I have an aspx master/content page scenario. The parent page has an IFrame which
I have an aspx page that has a @Page directive which points to a
In my aspx page I have a tr which is set visible=false by default.
I have a < div > in my aspx page which has some notification
I have one of a aspx page in my asp.net project which has a
I have an aspx page which has a GridView and a Panel with Summary
I have an aspx page which has the following: A repeater with a linkbutton
I have a aspx page which has three tabs. When I click a button

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.