Frames Detection
Is there a way to detect that my ASP is going to display in a frame? Everything I've found tells me how to test if the browswer is frame capable. I know HTTP_REFERER is a big hint but it isn't very authorative. I can do this easily in javascript but that is of little help while I'm still running on the server.
What I want to do is check to see if I am executing in my frame. If not then load the frame then execute. Everything I can think of to do is either too late or unreliable.
View Replies
ADVERTISEMENT
I'm going to go down this route of Cookie detection
<%
If Request.Querystring("Check") = "" Then
Session("cookietest") = "True"
Response.Redirect("cookietest.asp?Check=True")
Else
If Session("cookietest") Then
<!-- Execute code if enabled -->
Else
<!-- Execute code if disabled -->
End If
End If
%>
I’m a little worried, do you know how spiders work with regards to this sort of thing? My site gets some traffic due to it being spidered by the likes of google and I don’t want to loose that flow.
If I use this at the entry point of my site to redirect browsers with cookies turned off to a page telling them to turn them on will that stop the spiders?
View Replies
View Related
I have just uploaded my website and it looks fine in IE, but awful in Mozilla. I need to load a different CSS file according to what browser a user has. Does anyone have any code that will detect browsers and versions?
View Replies
View Related
Is it possible to detect browser/system language with:
Server.CreateObject("MSWC.BrowserType") ?
~
View Replies
View Related
I have a piece of ASP code that I want to run differently if it is on my
development server.Basically, if it's on my server I just want it to do a few response.writes... If it's on another server I want it to send an email.Right now I have code to do both, but it's a pain to flip flop between them.
Is there a simple way to accomplish this?
View Replies
View Related
For whatever reason, I want to get an email when my friends STATIC IP
ADDRESS clocks a visit on my site.
Will this work?: (Pretend his IP address is 80.112.144.244)
<%Session("IP")=Request.Servervariables("REMOTE_HOST")%>
<% if Session("IP")="80.112.144.244" then "Sendmail" else "Do nothing" end
if%>
Or
<% if Request.Servervariables("REMOTE_HOST")="80.112.144.244" then
"Sendmail" else "Do nothing" end if%>
View Replies
View Related
I am running an asp script (form submitting to database). After the db entry I want to re-direct the users to one of 3 pages depending on which browser they are running ..
Internet Explorer, Netscape 4.7 or Netscape 6 or higher (since I am using embedded video feedback with CSS and dhtml....and all these brpwser handle things differently (ie. Netscape 6+ does not understand the <embed> tag or at least won't let me manipulate the video.) I can do it in javascript but how does one go about this in an asp script?
View Replies
View Related
Does anyone have a good and simple Low/High bandwidth detection script that either redirects the user to a page based on their bandwidth or which sets a variable that can be used to turn on/off media and content?
View Replies
View Related
How can I detect what browser type my users are using, currently with my asp
server variables I only detect Netscape and Mozilla as U, how can I get
specific information without having to use software that you must pay for?
View Replies
View Related
I have an photo gallery, I want to create a button that opens a new window fixing the full size image snugley in it, which is easy.
But I want to get a script which detects the image size so i can use the variables to open the window.
What i want to not do is have to more options in the database with height and width in, and have to call them, although i'll do that if i have to, but i thought i would try something new.
View Replies
View Related
If I have existing code that has a drop down box to select department. This then brings up the Access database based on a field passed from the drop down selection.
How can I get the database to show up without getting rid of the table display from the selection. This way I do not have to go back adn forth for every selection.
Shold I create Frames? How do I do that?
View Replies
View Related
I want to print a page, with a header(image in another frame).
Is there a way where i can specify what i want printed as a header?
Or can i specify only certain frames to print.
I'll need to do this in the coding because there is other frames on my page as well that i don't want to print.
View Replies
View Related
I am trying to use frames in asp page. Well I am aware that frames are on client side etc.. what I need is following. Let me explain using the main page which have
the frames skeleton :
******FRAME.asp**
<HTML>
<HEAD>
</HEAD>
<FRAMESET ROWS="50%,50%">
<FRAME SRC="which.asp" NAME="which" FRAMEBORDER=0 BORDER=0>
<FRAME SRC="what.asp" NAME="what" FRAMEBORDER=0 BORDER=0>
</FRAMESET>
</HTML>
************
1) on page what.asp i am extracting value from database in a table
format.
2) when any row in what.asp is clicked the value should change in
which.asp
3) Finally I should be able to submit the whole FRAME.asp when the
update button on what.asp is selected.
Tried to search for examples on the net but unable to find any.
View Replies
View Related
I have an ASP programme which calls functions to display a list of tables from an access database
e.g.
table1(a,b)
table2(a,b)
etc
Ive also created the frames page dividing the page into two vertical colums 30% and 60%
Ive created a menu in the left column and when clicked upon want to have just a single table displayed in the right column, how do i do this?
View Replies
View Related
I am having an issue using ASP and frames. I am required to use frames
so NOT using them isn't an option.
Problem: When a user enters the site they goto survey.asp (this is the
frameset page). However when an ASP script redirects to the survey.asp
page I get double frames.
Meaning, that when the user is returned to the page the orgional frames
exsist and then ANOTHER set of frames is set within those!
Any ideas on how to fix this?
View Replies
View Related
I just wonder what are the implications to use frames to build portal. I've
seen some sites that are quite fast with frames but I just wonder if there
are hidden "costs".
I've tried to use in the past and I run into a lot of problems when I worked
with environment where there were frame and no frames pages.
View Replies
View Related
I have a page with three frames. One on the top, one on the left and one on the right.I use the frame on the left as a list of selections for the user (ie a menu). When the user makes their selection, the frame on the right shows the relevant page.I want to give the user the option of hiding and showing the frame on the left, by click on a button.My experience with frames, is nil.
View Replies
View Related
how could display one background image on a web page that is divided into 4 seperate frames.
View Replies
View Related
When I put my asp files in frames and call the frame from browser, I get a message to save the files. The files aren't actually displayed. How can I see the asp files in frames?
View Replies
View Related
i have an HTML page (Index.htm) which has 4 frames in it. each frame is a different ASP file.
How can i access one frame from another? is there something like HTML-DOM which i can use with ASP? any other ideas from accessing different frames?
View Replies
View Related
Say for instance that I have 2 frames and I have code in one. That code is returning information from a database. In that database there are hyperlinks to images. Upon clicking that hyperlink how do I force the image into the other frame?
At present It opens appears to go to a new page, but everything is coded in one ASP page. So I have to click back to select another image? I want to be able see both the database and image so I dont have to go back and forth
View Replies
View Related
is it possible to include asp code in a page so that it only executes if frames are used by the browser?
View Replies
View Related
I want to pass the value to two frames and two pages after hitting the
submit button If my form I have this:
<form method="get" action="search2.asp" target="fSearch2">
I want to pass crPN to below as well
action="search3.asp" target="fSearch3"
I am having a little problem figuring this out.
View Replies
View Related
I can build a nice looking website in HTML, but I have to admit that I don't know a ton of other code beyond that (i.e. ASP, Javascript, PHP, etc. - although thanks to Sitepoint I have incorporated a tell-a-friend and contact form using ASP)
My client currently subscribes to a service for selling his photographs where he uploads his images to a "sales site" that establishes a gallery for him where his clients can select and purchase images online. He would like to incorporate the "branding" from his site (header, background, footer, etc.) around the pages for his image sales site. My first thought was to use frames and to direct the main frame to the sales site pages, however the "padlock" icon in IE that indicates security to users when purchasing disappears because it's just a page within the frameset and he feels that his clients won't be comfortable purchasing from his sales site if they can ensure their online purchase is secure (apparently that padlock icon eliminates a lot of stress for his shoppers).
I then considered using CSS to try to accomplish the same result, but have come to find that IE doesn't support the function of CSS that would allow me to "call" information from a different URL. Code:
View Replies
View Related
i have these framesets.Code:
<frameset rows="*" cols="171,*" framespacing="0" frameborder="NO" border="0">
<frame src="index_left.asp" name="leftFrame" scrolling="NO" noresize>
<frame src="home.asp" name="mainFrame">
</frameset>
at index_left.asp there are menus and above the menu table, there is another table for me to display user's name once he/she logs into the system. to see the login page (login.asp), user has to click Login on the left and login page will appear on the right. but after user has logged in, his/her name never appear on the right place unless i refresh the page.
View Replies
View Related
I have a frameset on domain X in which an ASP-page is loaded from domain Y
into one of the frames. It seems that the ASP-page is not handling any
cooky's. After each load the session-object is empty. When directly opening
the page from domain Y (without the frameset) everything works ok. Does
anyone knows why this is happening en what can be done to make it work?
View Replies
View Related
I need to break out of the frames in the following line, or a line that does a similar thing:
Response.Write("<meta http-equiv=""Refresh"" content=""2; URL=http://localhost/MyWeb/Loanerz.asp"">")
View Replies
View Related
on a single webpage i know howto highlight the current button in a css menu with something like an ID in the body or in the li of that page.
I create a website with frames.
how can i highlight the current button the left frame when it shows the page in the rightframe Code:
View Replies
View Related
I've got an asp page that is set up in with two frames. The problem in question pertains to the main frame which contains a simple 'response.redirect' line that redirects the visitor to a different location. Other than this line, everything else are tags and no asp-oriented code.
I've tested this on a couple of computers, and it works fine. However, there are a few other computers in my office where the redirect just hangs and doesn't load the redirected page (i.e. the status bar states 'Open http://someurl.com' and stays like that)
Is this a problem with using the asp line, or is it a computer setting/browser setting I'm overlooking?
View Replies
View Related
My site uses frames.I have a header frame, a menu frame and a main frame. When the page opens, the header frame and the main frame are generic. The main frame has a log-in dialog. Once the user logs in, they are taken to a 'main' page and I want to replace the header and menu frames with other frames .
View Replies
View Related
I have a frameset with 2 different pages. When a user logs in the page is setup based on that particular user. The problem I have comes when that user logs off (killing his/her session) and someone else logs in one of the fr4ames does not always refresh with the new users info.
The user actually has to right click on it and click on refresh. I am killing session with �Session.Abandon� (this seems to be working). I have the following statements at the top of the page that is not refreshing: Code:
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
Anyone have any idea why the frame is not updating?
View Replies
View Related
i am currently working on frames in ASP. i have four asp files namely frame1.asp, frame2.asp, frame3.asp and frame4.asp - i have separated an ASP page into two frames one in the left side named frame1.asp and the other on the right side named frame2.asp
i have specified a link in frame2.asp and passing a parameter along with that link. if i click that link it should replace both the left side frame frame1.asp with frame3.asp and as well as the right side frame frame2.asp with frame4.asp
is that possible?for your information, i pass the parameter along with the link in frame2.asp after contacting the oracle database table and retrieving some value from it.
View Replies
View Related
I would like to refresh a frame when an action takes place in another frame.
Suppose for example:
I use three pages page1, page2, page3 which are displayed in 3 frames frame1, frame 2, frame 3 respectively.
if click on some link in page1 it will open page2 in frame. this clicking should be captured immediately and displayed immediately in page 3 which is in frame 3. This should be done immediately as if it is live.
View Replies
View Related