|
Bob, One thing we have done is open up the application in it's own window. We give the window it's own name (TimeEntry in this case). The HTML we use for this is shown: <HTML> <HEAD> <script language="JavaScript"> <!--- var sParms = "directories=no,memubar=no,toolbar=no,status=yes,"; sParms += "scrollbars=yes,resizable=yes"; MainWindow = Window.open("teb99e1","TimeEntry",sParms); location.hRef = "//intranet1/time-entry/defaultbody.htm"; ---> </script> </HEAD> </HTML> In the top of each of the HTML used for the different pages we insert JavaScript which insures that we are in the window created for this application. <HTML> <HEAD> <TITLE>Time Collection Initial Menu</TITLE> <script language="JavaScript"> <!--- if (window.name != "TimeEntry") { top.close(); } ... If the page is being requested by any window except the one created for this application the browser will automatically close. This will not solve all of your ills but it may give you a good start. HTH, Rich Dotson RT3 Consulting Services, Inc. 1-216-556-1710 >Date: Fri, 22 Aug 1997 14:30:52 -0700 >To: inet400-talk@inetmi.com >From: Bob Cancilla <bobc@ricc.com> >Subject: CGI Query Parms > >All, > >On several websites, I have seen and experienced a situation where if you >enter the website at the proper entry point and then follow designated >links and click on submit buttons on forms you will go to lower >(subordinate) pages. The URL shows a standard path plus a long query >string which presumably are the parms that brought up the page. > >Ok, so fine and good, my pages look the same. > >Now then when you bookmark these pages, the page fails with an error >message (which I can't seem to recall at the moment). > >My question is how do you create this situation? We all have cgi scripts >which contain long parm lists that we really can't hide from our users. >How can we prevent them from bookmarking the pages and accessing the pages >directly with out first visiting a parent page? > >Is there a neat and simple way to deal with this? > >Bob C. > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.