473,804 Members | 3,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Website doesn't run in iframe?

I've written a website that works fine when the user types in the URL into a
browser window. Now, one of our clients, whose website has a left panel
"iframe" menu, put our site in as a link and my site no longer works
corrected. My site uses Session variables and response.redire cts.

Is there something about being run in an iframe that will mess up my site -
is this an known issue?

TIA
Nov 29 '05 #1
3 1810
How specifically does it not work?

"ESmith" <el**********@h otmail.com> wrote in message
news:e8******** ******@tk2msftn gp13.phx.gbl...
I've written a website that works fine when the user types in the URL into
a browser window. Now, one of our clients, whose website has a left panel
"iframe" menu, put our site in as a link and my site no longer works
corrected. My site uses Session variables and response.redire cts.

Is there something about being run in an iframe that will mess up my
site - is this an known issue?

TIA

Nov 29 '05 #2
TIA,

I had to deal with a web site that I maintained that used IFRAMEs. Symantec
has some "popup blocking / anti - aware" software that simply blocks any
links that resolve to an IFRAME on the local site. It caused all kinds of
havoc for us and we had to abandon the use of IFRAMEs. The worse thing about
it was the user never made the association between having changed the
settings on the software and our web site no longer working. It was always
our problem. Symantec gives the user a warning about how certain websites
will no longer function properly if the specific feature is enabled, but
most of the users we dealt with either didn't understand the implications of
the warning or never remembered having changed it.

--

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org
"ESmith" <el**********@h otmail.com> wrote in message
news:e8******** ******@tk2msftn gp13.phx.gbl...
I've written a website that works fine when the user types in the URL into
a browser window. Now, one of our clients, whose website has a left panel
"iframe" menu, put our site in as a link and my site no longer works
corrected. My site uses Session variables and response.redire cts.

Is there something about being run in an iframe that will mess up my
site - is this an known issue?

TIA

Nov 29 '05 #3
The first page has a couple of dropdownlists populated from a database:
Once the items are selected, the user clicks on a "continue" button - here's
a snippet:

Start Page:
private void btnContinue_Cli ck(object sender, System.EventArg s e)
{
if ( Page.IsValid )
{
Session["ORG_NAME"] = ddl_BarOrgs.Sel ectedItem.Text;
Session["ORGANIZATI ON"] = ddl_BarOrgs.Sel ectedValue;

// Get Organization specific info
DataTable dt = ol.GetOrganizat ionSoftwareAndP rices
(ddl_BarOrgs.Se lectedValue);
foreach (DataRow dr in dt.Rows)
{
}
...
Response.Redire ct("LogonForm.a spx");
}
}

On the "LogonForm.aspx " page in the Page_Load() routine, I have this:

private void Page_Load(objec t sender, System.EventArg s e)
{
if ( !Page.IsPostBac k )
{
if (Session["ORGANIZATI ON"] == null)
Server.Transfer ("OrgName.aspx" );
else {}
}

If I run this from a browser with the user typing in our URL, things work as
expected.

On the client's site, where they embedded a link to us from within their
"framed" website, it seems that the Session["ORGANIZATI ON"] variable is lost
(eaten by the frame?) when the user attempts to transfer to the second page
(LogonForm.aspx ) - they keep getting transferred back to the Start page ( if
(Session["ORGANIZATI ON"] == null) is always true, even though the
information was captured on the prior page as a prerequisite to navigating
to the second page.


"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:O$******** *****@tk2msftng p13.phx.gbl...
How specifically does it not work?

"ESmith" <el**********@h otmail.com> wrote in message
news:e8******** ******@tk2msftn gp13.phx.gbl...
I've written a website that works fine when the user types in the URL
into a browser window. Now, one of our clients, whose website has a left
panel "iframe" menu, put our site in as a link and my site no longer
works corrected. My site uses Session variables and response.redire cts.

Is there something about being run in an iframe that will mess up my
site - is this an known issue?

TIA


Nov 29 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1779
by: Mounir | last post by:
a website opens in my iframe Is there a way to know the address of the link the visitor clicks on ?
2
4914
by: Ellie | last post by:
I was given the following code from Just Dial to add to my website (it gives info about phone numbers to make cheap international calls): <iframe src="https://www.just-dial.com/agents/rate_finder_tool2/rate_finder_tool_design2.asp?ID=41157607" align="center" frameborder="0" height="100%" width="100%" marginheight="0" marginwidth="0" scrolling="no"> </iframe> It didn't work at all - I changed it to: <iframe>...
1
1402
by: ganich | last post by:
Hello, i am looking for a Php script which could help me in organising my website. Ok the problem ... i have created index.html and made full layout in it. I use iframe in a table to view the pages which are navigated on the index.html..i hope u understand..its just like a index.html has all the links and those links open in that iframe page.. now i create a page ..contactus.html and only put the contact numbers in this page. now...
1
1176
by: ganich | last post by:
Hello, i am looking for a javascript which could help me in organising my website. Ok the problem ... i have created index.html and made full layout in it. I use iframe in a table to view the pages which are navigated on the index.html..i hope u understand..its just like a index.html has all the links and those links open in that iframe page.. now i create a page ..contactus.html and only put the contact numbers in this page. now...
1
3165
by: jaimebienlesfruits | last post by:
Hi, I'm moving my old website to my new domain name and I need help redirecting. The thing is this, my old website (with a very long long long URL) was given a domain name by my host, but the domain name is simply an iframe. I just bought my very own domain (!!!) and I want to redirect the old domain, including the iframe. How do I go about this? Other than asking my host (who owns the old domain) to direct the iframe, is there a way with...
2
1376
by: dan07 | last post by:
Language used: Javascript Application using iFrame: Microsoft CRM 3.0 form Is there a generic way for an iFrame to send a variable to a remote website form? I need to be able to open up the results of this remote form in a iFrame. Any help would be appreciated.
6
61410
by: deknoopjes | last post by:
I want to display a specific area of an external website using iFrames. A year ago I created such code successfully, but lost this code due to a crashed computer. Googling for any solutions did not help me so far. Any hints on how to achieve this (again)? This is what I have so far: <div style=" position:relative; // used for positioning and may or may not be required background: #FCC; // background color of div may...
2
1508
by: EnjoyNews | last post by:
A simple question probably... With this script: <script> function select_onchange(obj) { window.open(obj.value); } </script>
1
3001
gagandeepgupta16
by: gagandeepgupta16 | last post by:
Hi I have one website -A in which there is an Iframe. 1. If i call another website -B inside the iframe in A then cookie is not getting created. 2. If the same website B is directly opened on browser the cookie is created. 3. If i go for 1. scenario and reduce the privacy setting of the browser (IE 7) by selecting "Allow session cookie..." then also cookie is created. The issue is i can ask the end users to reduce their browser's...
0
9572
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10562
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10319
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10303
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10070
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5508
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2978
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.