473,382 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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.redirects.

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 1792
How specifically does it not work?

"ESmith" <el**********@hotmail.com> wrote in message
news:e8**************@tk2msftngp13.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.redirects.

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**********@hotmail.com> wrote in message
news:e8**************@tk2msftngp13.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.redirects.

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_Click(object sender, System.EventArgs e)
{
if ( Page.IsValid )
{
Session["ORG_NAME"] = ddl_BarOrgs.SelectedItem.Text;
Session["ORGANIZATION"] = ddl_BarOrgs.SelectedValue;

// Get Organization specific info
DataTable dt = ol.GetOrganizationSoftwareAndPrices
(ddl_BarOrgs.SelectedValue);
foreach (DataRow dr in dt.Rows)
{
}
...
Response.Redirect("LogonForm.aspx");
}
}

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

private void Page_Load(object sender, System.EventArgs e)
{
if ( !Page.IsPostBack )
{
if (Session["ORGANIZATION"] == 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["ORGANIZATION"] 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["ORGANIZATION"] == 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.rilling.net> wrote in message
news:O$*************@tk2msftngp13.phx.gbl...
How specifically does it not work?

"ESmith" <el**********@hotmail.com> wrote in message
news:e8**************@tk2msftngp13.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.redirects.

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
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
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...
1
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...
1
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...
1
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...
2
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...
6
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...
2
by: EnjoyNews | last post by:
A simple question probably... With this script: <script> function select_onchange(obj) { window.open(obj.value); } </script>
1
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.