473,402 Members | 2,072 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,402 software developers and data experts.

Webpage access

Hello,

dunno if that is a Newbie question or not and maybe somebody can help.
I have programmed a couple of my own pages just using a texteditor. I
use very simple language and frames. No fancy gimmicks, no jawa, gifs,
colors, fonts or anything, just simple html language with loads of
pictures embedded and text. (See here e.g. www.stephenbottcher.net)

Now here's my question:
1) Say, frame A has a.htm as its source
2) Say, frame B has b.htm and so on
3) the index.htm contains the frame information and subsequently
calls up a.htm and b.htm into the respecting frames.

Now, somebody could directly access a.htm or b.htm and would not see
any of the other frames and contents. The content would not make
sense.

Question:
By using HTML language, is there a way to figure out whether index.htm
had requested the a.htm page or of the request came through from
somewhere else?

The idea is, if I coulsd detect that somebody wanted to access a page
which without the other frames does not make sense (is out of context)
I would immediately redirect the request to the index.htm and
everybody would be happy.

I hope what I say makes sense to somebody.

Anybody?

Thanks. Stephen
Mar 16 '06 #1
3 1298
Deciding to do something for the good of humanity, Stephen
<dv*@stephenbottcher.net> declared in
comp.infosystems.www.authoring.html:
Now, somebody could directly access a.htm or b.htm and would not see
any of the other frames and contents. The content would not make
sense.
Welcome to one of the many problems with frames.
By using HTML language, is there a way to figure out whether index.htm
had requested the a.htm page or of the request came through from
somewhere else?
No. HTML can't *do* anything. It merely describes the structure of the
content.
The idea is, if I coulsd detect that somebody wanted to access a page
which without the other frames does not make sense (is out of context)
I would immediately redirect the request to the index.htm and
everybody would be happy.


It can be done with Javascript, but that won't work for anyone with
Javascript disabled/unavailable.

Best solution is to ditch the frames.

--
Mark Parnell

Now implementing http://blinkynet.net/comp/uip5.html
Mar 16 '06 #2
Stephen wrote:
Hello,

dunno if that is a Newbie question or not and maybe somebody can help.
I have programmed a couple of my own pages just using a texteditor. I
use very simple language and frames. No fancy gimmicks, no jawa, gifs,
colors, fonts or anything, just simple html language with loads of
pictures embedded and text. (See here e.g. www.stephenbottcher.net)

Now here's my question:
1) Say, frame A has a.htm as its source
2) Say, frame B has b.htm and so on
3) the index.htm contains the frame information and subsequently
calls up a.htm and b.htm into the respecting frames.

Now, somebody could directly access a.htm or b.htm and would not see
any of the other frames and contents. The content would not make
sense.

Question:
By using HTML language, is there a way to figure out whether index.htm
had requested the a.htm page or of the request came through from
somewhere else?

The idea is, if I coulsd detect that somebody wanted to access a page
which without the other frames does not make sense (is out of context)
I would immediately redirect the request to the index.htm and
everybody would be happy.

I hope what I say makes sense to somebody.

Anybody?

Thanks. Stephen


After I load your page with frames, I might want to view each frame in a
separate tab within my browser window. This is a capability of my
browser. You want to prevent me from doing this?

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
Mar 17 '06 #3
Stephen wrote:
Hello,

dunno if that is a Newbie question or not and maybe somebody can help.
I have programmed a couple of my own pages just using a texteditor. I
use very simple language and frames. No fancy gimmicks, no jawa, gifs,
colors, fonts or anything, just simple html language with loads of
pictures embedded and text. (See here e.g. www.stephenbottcher.net)

Now here's my question:
1) Say, frame A has a.htm as its source
2) Say, frame B has b.htm and so on
3) the index.htm contains the frame information and subsequently
calls up a.htm and b.htm into the respecting frames.

Now, somebody could directly access a.htm or b.htm and would not see
any of the other frames and contents. The content would not make
sense.
Which is one of the reasons why it's best not to use frames.

Question:
By using HTML language, is there a way to figure out whether index.htm
had requested the a.htm page or of the request came through from
somewhere else?


Usually, but not reliably.
Mar 17 '06 #4

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

Similar topics

4
by: jnelson | last post by:
Hi all... I'm hunting for a script that would allow me to place a wide-open wireless access point in my client's business. Then, anyone connecting and then surfing a webpage would be redirected...
2
by: khan | last post by:
hi guys, I want to search query through a webpage. I want to set search criaria a web text filed same we do for forms {forms]!!. is it possible I could use a webpage text field as a search...
3
by: Ole Hanson | last post by:
Hi I am trying to pass a credentials object to a webpage programmatically. I have a winApp (C#) that I want to be able to open a webpage (by starting IE), but the credentials required by IIS...
2
by: swbaz | last post by:
What is an effect way to prevent users from viewing a webpage directly by typing in its URL? For example: If a default page is set up as a login screen with user name and password. The user...
6
by: Boris | last post by:
Has anyone ever managed to read a Windows registry key in a PHP webpage? I installed the PHP extension win32std and saved their sample script from...
10
by: sanou | last post by:
Hi does anyone know if the following is possible? I have an excel spreadsheet with values that i need transferred to a certain website's form. for instance, i have a value in excel spreadsheet...
12
by: M.L. | last post by:
When loaded from my hard drive, the webpage I'm working on renders fine on IE6, Firefox 2.0.0.1, and Opera 9.02. However, after uploading it to the web there are 2 images that fail to display on...
4
by: DhanyaSandeep | last post by:
I want to access a control in one webpage from another webpage in the same website in Asp.net.How can I do that?Please help me.
0
by: susan | last post by:
Hi, I'm using Accrss 2003. I try to build a GUI using the Webpage-option in Access. Now I want to call a procedure by placing a CommandButton on the webpage. Doing so I find the following in thr...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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...

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.