I'm intending to use a IFRAME in one of my ASP page. What I'd like to know is how to prevent user from directly accessing the page that is the source of the IFRAME?
E.g.
Main page is main.asp
Inside main.asp..
<IFRAME src="data.asp">
If someone tried to enter ..mysite/data.asp in the browser's address bar, I would like to redirect him back to main.asp
I am using an IFRAME in a custom control with src="Popup.aspx" where Popup.aspx is a page in the Web control library. How can I reference this page without having to copy it down locally ? I have tried embedding it in the Web control library dll and referencing in the Assembly.inf file using ContentType="text/html" and using GetWebResourceUrl to reference. But server controls are not rendered using this mime type and I cannot find a mime type for "aspx" files
I've inherited some code which has a menu page with an embedded iframe which displays the page corresponding to menu clicks. i was attempting to pass a session variable into the iframe page. sadly, it seems that the page displayed in the iframe and the "hosting" menu page are different session. i discovered this by placing response.write(session.sessionid) in both pages. why is this? is there a way to make the iframe page part of the original session?
Im passing from one website to another ie a link from www.1stdomain.com to www.2nddomain.com/list.asp?ID=1234 The problem I have is that 2nddomainhas an IFrame which I want to pass the ID .
i made page in asp with iframe and the contents of the iframe is coming form another asp file as a radion button gruop i did not get right result. what i want that the results of radio button groups are redirected in a parent page. so i writ that code so many times with few changes but i did not get right answer the code is.
"x" is the name of first radio group ( But Asp treat it as a first object of radio group so it returns me all the time the vale value against it either it is not checked.
But when i click on the hyperlink and is at Page2.asp. When i click the back btn on the IE, it cant bring me back to Page1.asp. It is always in a loop.
saddled with using an <IFRAME> area on a classic asp page from the designer, so I'm trying to find out the following.
on that page I usually use the <IFRAME> to hold a simple HTML page, that the client will have access to from my CMS program so they can make edits, updates etc.
but, one page has a search functionality, written in classic ASP and using MS-Access dbase to find members of the association etc.
when I put the asp search page inside the <IFRAME> src , it wont show? ie -- <iframe src="findlawyer.asp" frameborder="No" width="756" height="427" id="iFrame" vspace="10">
-- should mean that the page findlawyer.asp should show up inside the holding ASP page (called simply find.asp)
why? when I look at the findlawyer.asp page online it shows up perfectly and works perfectly too....yet inside the <IFRAME> it refuses to show up???
I have a sign-in box that is an IFrame, with a form target of "_top", and the current (parent) page URL as a hidden field.
If sign-in in successful, there is a response.redirect to the page URL, having set the session variable LoggedInOK=true.
However, if the sign in is not OK, I want the IFrame to be the target, (i.e. _self, not _top) to display the error.
Is there a way for ASP to control whether it redirects to _top or _self, as setting the form target in the Login page requires "pre-knowledge" of whether it will be successful.
I have some ASP / HTML webpages using an iframe to function as a Content Editor which works fine in IE.
It has javascript preforming actions on the iframe content, such as putting the text in bold, creating hyper links etc.. However none of this works in Opera or Netscape, is this totally impossible?
The error occur as "myiframe" is in a.asp and i need to call it in b.asp and i can't find the solution for that too.?anyone know how to pass value from a.asp to b.asp in above?
With UncleWobby, Steven Burn and Roland Hall's help, I was able to create a proper IFRAME section on my page.
Now I come to the next problem.
I'd like to be able to:
- manually refresh the IFRAME, and - set a time interval to auto refresh the IFRAME
I've got <META http-equiv="REFRESH" content="10"> in the child page (src of IFRAME) which refreshes the page in IFRAME every 10 seconds. Is there anyway I can
- change the refresh interval value, and; - set the page in IFRAME to auto refresh or not;
from the parent page but without submitting a form from the parent page (to avoid refreshing the parent page)?
Just wondering how (or if it's possible) to post from my page to another .asp page within an iframe? Hopefully that question make sense? I know how to launch load a page with an iframe, but how do I post to a page within a page
host has no upload facility. They also block uploading scripts.As she wants to be able to upload files easily I have opened her ftp folder within an iframe when she has logged into her admin functions.
This allows her to drag and drop files when she's viewing in Windows & IE.What I'd like to know is how safe a method is this?what ways can I make it safer?
I have an asp page that when I select something teh content of what I select appears on the page. I know I can use iframes, but it is not to freindly with all browsers, and I can use frames, but same reason. SO, what I would like to know can this be done with vbscript? or is there another way?I am in real bad need of this solution quickly.
I used the iframe in main page. Everytime user click on any link in the page, only the content inside the iframe will be change. The problem is, the content's size(height) that will display in iframe is different. So i can't fix the size for the iframe. (i tried to put the iframe without fix the height for it, only part of content can be display - may be cause of i have few iframes in iframe).
If i fix the size for the iframe, some of page are unable to display nicely(as i don't want to use scrollbar). Anyone know how to solve this problem so the iframe can show it's content with it's height?
I have an Iframe inside my page, just outside this Iframe i have 3 textboxes. I need the variables inside these textboxes to pass onto the iframe page. How can i do this?
i have a webpage with two sections. the first : is a list of categories the second: is an Iframe.
when clicking a category the iframe refreshes and showes me the subcats of that category. when i add a new category, and refresh my page, the iframe still shows me the old subcats... till i right click and refresh the iframe seperatly...
I am totally new to ASP.Till now the i have been using php, so i will try & relate my question with php.If a page is written in php & is seen by the client browser only the html code is visible to the client if he wants to see the code.But for the person who has access to the server,he can easily see the code by viewing the file in any text editor.What i want to ask is that if i write pages in ASP is it possible in any way that the people who have access to the server are unable to view the ASP code? Something like an exe file where the person cant see the code but just use the application.I want to know this cos if i want to hide my code of a web based application located in the server is it possible to do this in ASP?As far as i know this is not possible in PHP.
passing a hidden value to a querystring via a form. It is not working correctly because when I submit, it will go to calendar.asp?date= instead of calendar.asp?date=12/13/2004.
This code works because I have already tested. The value was correct.Here's the code for submitting the hidden value (this is the line of code that I need help with):
how to make an onmouseover:visible area in the page? i mean ie. i have an output page, and list of datas from database. i want buttons releated its appear when i get my cursor over area of any data. but my buttons are called from includes file.like this:Code:
I building online forms for our new client acceptance forms. The first page has 35 fields, the second page has 20, and the third has 8. My question is how is the best way to move the data from page 1 to page 2 then pages 1 and 2's data to page 3? Should I use hidden text boxes or write them to a temporary table then move them once the form is submited? Network traffic is not an issue.
when i call for a asp page i c some process still running in the status bar. but when i click on the same link again, i could not find the process. it happens alternatevely.why is this happening? how to prevent?
When I create a form with hiddenfields and then view it in an ASP web page the following shows where the hiddenfields are on the form- "> -this appears for every hiddenfield is there anyway these can be hidden from view on the web page.