----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
Just a small problem I'm trying to solve and I know there must be
a quick hack for sorting it out. This is the scenario:
Standard pages consist of a header frame and a content frame. (see
http://www.eeng.dcu.ie ). The problem with frames is trying to preserve
user control etc. and I want to allow people to type urls for anywhere
in the site. So to do this I allow people to say call
http://www.eeng.dcu.ie/staff/technical.html - it loads the page and
onload it checks if (self==top) and if it is then it calls a servlet
which writes out the frames code and essentially forces the header on
this page (which I want there on all pages within the site). The
servlet is called in this case using:
http://oak.eeng.dcu.ie/admins/eepage?url=/staff/technical.html
Everything is dandy and I'm patting my own back when I find out that
if you try to go back (as some people seem to like to) using the
browser back button or a history.back() it goes back to the page,
which on load calls the servlet again and again and again everytime I
click back. Can anyone think of a quickie way around this? I've
been messing with referrer and history but to no avail. Thanks...
David Molloy
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]