RMS: Discussion Groups
News l Modules l TechInfo l FAQ/HOWTO l RoxenProviders l Discuss l
Login :
Don't have an account? Register Forgot your password? Retreive
Benefits of Registering * Privacy Policy

Roxen Discussions

Module Ideas

Subject: Restricting separate frames
Posted on: 3 April 1999 by Piotr Poznanski


Have You ever try to create pages with <FRAMESET>?
If so, You probably noticed, that sometimes it make no sense
to load one of the frames without all the context.
Modern browsers wich try to guess the URL often adds the path
for frame where it should be / or /index.html...

So idea is to write the module preventing loading other docs before loading exact one, having <FRAMESET>. I guess it can be done by checking referrer information. If there is no referer it probably means that someon just start the browser and typed the URL.
If referer is set, but pointing outside of our server/subtree
also it's wrong. In those cases we can send information (customized by module config of course;) like that:

You've requested page wich is a part of...
I suggest that You start from <a href="configured-starting-page"> here </a>.

In any other situation server should normaly send requested page.

Well. I'm new to the Roxen server, and new to Pike, but I'm impressed
by flexibility of it. That's why decided to post that here. ANd if
one of You can create such module I guess it will be usefull for many
users out there :)


[ New Post ]   [ Post Reply ]   [ Previous Post ]   [ Next Post ]   [ Previous in Thread ]   [ Next in Thread ]   [ Forum Index ]

Follow Up:

No follow up discussion found.


Comments? Questions? < rms@riverweb.com >
visitors since .
This page last updated February 2002.
Riverweb Logo RMS is hosted by Riverweb Internet Commerce
Copyright © 1998 H. William Welliver III
This site is powered by Roxen Challenger 1.3 and mySQL.