how to control frame busting. My application has a frame where i open the site user has select to view. Frame busting is, preventing that your page is caught in someone else's frameset.
So when user select yahoo.com or else which has frame busting technology impemented it will occupy my aaplication's window by setting "top.location=self.location" But i wanna know if the current page is going to occupy my window then open that site using window.open(URL) instead opening it in userFrame. Awaiting for the fastest responnse.
I got a asp page that has right and left site frame. I got a form in the right side frame and i want it reload the left frame when the it got submited .The left side frame displays that content of newly sumitted form.I be happy if some one help reload this left page when a form got submitted in right side frame with out using any auto refresh.
since we run BIND as our DNS, I'd like to be able to force it reload changed zone files via an ASP page. I don't need to restart the service itself. There is a specific command that can be sent to it that'll reload the zones without restarting the service, but I don't know how to execute it.
i'd like to be able to create and manage IIS websites from an ASP page. Is there any documentation on this? It must be possible, but I can't find out how.
I built some Web site that includes 3 frames page. After a user sign-off I want to redirect him/her to a single frame page. When I use Response.Redirect command, I am getting the redirected page as a frame and I still see 2 other frames.
How to get rid of other frames and display only a single frame?
i am currently working on an online test tool using ASP. Now, the questions would be generated randomly from a database(access), so two or more candidates will not have the same question. There will be one question per page. Now, i have successfully generated the radom questions from the database.
But i have a problem which is:
1. When i click the next link to go the next question, my code displays the question on the previous.
2. Also, when i click on the previous link to go back to the previous question my code changes the question from the previously answered to a new question. Code:
I have an ASP page where I need to give users a button to print the screen in ladscape. How do i do it in vbscript or in javascript. Can't convert the data to pdf and send it to them.If i have to use printer object can someone show me how to create/instantiate a printer object before i can print it.
I have a problem letting this small script I wrote work correctly. In particular i can't manage to execute commands that require user input/confirmation. How should i handle that? Code:
We have an issue where we need to control access to specific web pages e.g. if one user is editing a purchase requisition another user shouldn't be able to perform any actions on it.
I presume we could lock the purchase requisition for editing by a specific user when an edit button is pressed. Only that user would then be able to edit the document. However can anyone think of any better approaches to this issue which I presume must be quite common in other application domains.
I have a simple collapsible table that displays when a Label is clicked. However, since the label is only plaintext, the mouse becomes an insertion icon (I-bar) when over the text. Because of this, a user might not understand that the label is clickable. Is there a way to control the mouse appearance so that it shows the standard pointing finger, WITHOUT creating an anchor? Due to other elements in the page, it cannot link back to itself without erroring out.
I have two files index1.asp and index2.asp (Both contains html 3frames) index2.asp have fame name like this(top,middle,bottom) [B](in middle frame I'm showing grid1.asp file.)[/B] I'm showing asp files in these 3 frames. I'm getting database records and i want to pass "ID" of these database records in index2.asp(middle frame, grid1.asp) And i want to get this "ID" in middle frame in index2.asp How can i get? this is the code
this is index1.asp <%response.Write("<a href=""grid1.asp?strID="&rs.Fields("ID")&"""target=middle>"& a &"</a>")%>
and getting values of this ID this is grid1.aspstrID=Request.Querystring("strID") s = "SELECT * FROM Alphabit where ID="& strID set rs = conn.execute(s) it is showing me an error "Syntax error (missing operator) in query expression 'ID='. "
I have a page with 2 frames, F1 and F2. On F2, I have 2 more subframes, F2A and F2B. If I click a button on F2A, I want to open the page on the whole F2. I use parent.frames.F2.location.href but it doesn't work.
If you have a webpage with frames, say a footer frame that contains links, how can you get out of the frame if you click on a link in the footer. The it works now, is if I click on a link, the page loads inside the small footer frame. I'd like it to just get rid of the frames completely when I clickon the link. Any clue?
I have a program created by Autodesk that uses alot of ASP & Javascript. The program uses an Ajax Viewer to pass a selection set through several files eventually making it to a file called "propertyctrl.aspx", inside that file, it passes to a file called "propertyctrl.templ", which once inside of it, just appears to be Javascripting. So, here is what it is supposed to do:
A user clicks a polygon inside of the ajax viewer. Once clicked the property dialogue box populates the "Name" field, and "Value" field from the properties of the object that was clicked. It looks a little like this: ....
The problem i have is the property dialogue box leaves alot to be desired. Its very basic, what i would like to do is somehow pass the values to another place and rework it so it looks more like this: ...
I have a feeling all i have to do is intercept the code at the property box window and change them to variables that i can then use in HTML, but i am not sure. Below you will find the code for both the propertyctrl.aspx and the propertyctrl.templ file...
Is there a way in ASP to figure out if a page that is being loaded is being loaded into a frameset? I know I can code this in javascript,but I would prefer to only inject a chunk of 'onload' code in the body tag if infact the page is being loaded in a specific frameset.
i have A page that show List of many field from database and i have frames : Top , Left and Main Page. I think it's tired to see the fiel with horizontal scrolliong too long. I wonder that the left frame can be resize to Left(Close to left) then i can open it again. But I have no idea to doing that.
I have a simple web app that consists of an index.asp page that contains in inline frame and several supporting .asp pages. none of the asp pages really include any asp code.
I am trying to set the session.timeout value in my global.asa under the session_onload sub. I am trying to set the timeout value to 1 minute just for testing purposes. In the end I would like the user to be redirected to a timeout page when he/she clicks on any of the links after the 1 minute timeout has been reached.
The page has Top frame (input) and bottom frame (result). The input html page send input to asp to generate result to bottom frame. The page works. But i wish to refresh bottom frame once i click the submit button to see the result by the java function
<script language =javascript> function button1_onclick() { window.parent.mainFrame.location.reload(); } </script>
But the bottom frame does not reload. is my logic wrong? is it conflicted with form action or method?
I am trying to redirect in a different frame when my users are logging in. I used this code, but this doesn't work properly. Well, the asp works fine but just don't display in the frame I want it to. Code:
i am trying to make user login and password then when it log in it is go to diffrent page in the website this page is frame page whitch contain three frame
when i put the index page " the main page " in the server.execute("index.asp") it is dispaly nothing
how can i make it dispale the frame
but when i put single page to the server.execute("student.asp")' go to student page
I want to make a small (around 200x180) window that I can put somewhere on my site that reloads a website inside it, each time some one visits my site just like Iframe - infact you may even end up recomending Iframe. I also think I frame is the best way to do it, I found a great Iframe generator here.
After the window is made I want to cover the window with an image of the same size, so that people don't see the website underneath, inside the window but the image. How can I do this?At another forum, they kept asking me why I want to do this etc.
I have this problem in controlling a text in a Text Area. How can I do that, for example the field size is 200, when it reaches 50 it automatically goes to the next line. Because im having problem when viewing text in my report, it continuesly views in a straight line. Can you give me ASP code for that.
I have made this frameset for my site, 4 frames in it, and each one holds a html page. The mainframe however holds an asp page. Each time I try and load the frameset and preview it, in the mainframe I see all the asp code of the page, not the compilation of it. When I try and open the asp page separately, I can see the compilation just fine, tables and everything.
There are two frames in an asp page.When a frame loads,I submit a form to the other frame in onload event.Sometimes the code works fine, but sometimes it will submit to a new window. Why does it happen? how to resolve it?
I'm trying to pass 2 simple values (an integer and a string) from a start page (start.aspx) to an aspx contained within a frameset (say destpage.aspx).
I can server.transfer the values directly to destpage.aspx but I'm struggling to work out how pass the form values to destpage.aspx when it is contained in a frameset.
Is there an easier way? Is it possible to pass the values to an aspx that defines the frameset then pass to destpage.aspx?
I have a page(1) inside a frameset. The frameset opens from another page(2). I want when I change something on page 1(inside the frameset), the page 1 to be reloaded.
I'm trying to build a page which has two frame, one is hidden and the other main. The hidden frame will have all the neccessary recordset and variables.
and main has forms and functions which should retreive data from hidden frame to use it on the form. I noticed it's possible using javascript but i'm building page with vbscript and have not found a way to do it.
The reason I'm trying to do this is to reduce down the server traffic. The page will get local variable rather than accessing database everytime user request some values.
If this is not possible, can someone tell me how to store recordset into session variable? so it can be used across the page.
We need to display certain websites inside a frame on our website and I use the response.redirect command in VBScript. The problem is that some websites take over the whole browser, how can I stop this and force a website to be loaded inside a frame?
I have an application that displays messages that are stored in SQL server The application uses frames
In the vertical frame along the left side of the page, I enumerate the current messages. This frame is named "SELECT" Clicking on a message subject causes
In the main frame, named "BODY" I display the message that is retrieved from SQL Server in a textarea.
When a message is displayed, I also display a prompt ro delete the message.
The delete prompt works just fine except that I need a way to update the enumeration of messages in the "SELECT" frame.
Is there a practical way to force the page in the select frame to refresh itself when I delete a record?