The answer to this one may seem a bit simplistic, but
bear with me please.  The 'main' frame should be a cgi
script that does not ever change.  You want the
behaviour of this frame to change by passing
parameters.

The main file could be named main.pl and accept
parameters such as doLogin if they need to login.  Or
doMain if they are to view the main.  THEN, have the
main.pl open the appropriate html file and display its
contents.  

Mind you this isn't very secure so use Taint mode in
the main.pl file '#!/bin/perl -T'.  Also you may make
a list of files that this script is allowed to open,
and if the file isnt' listed, then don't open
it....Whatever, it is your choice, just be warned that
what I said is not secure.

Kristofer
--- Greenhalgh David <[EMAIL PROTECTED]>
wrote:
> Hi all,
> 
> Searched the archives for an answer to this, but
> nothing seems to 
> answer the right question.
> 
> My basic page has three frames. The top frame
> contains global 
> navigation and never changes. The left frame
> (side.html, 
> name=leftFrame) contains a "console" for want of a
> better word. The 
> main frame contains a dynamic page generated by a
> CGI. I want the user 
> to click on an login tag in the console and the form
> to appear in the 
> main frame. So far so good, done that. When the
> login is successful, I 
> want the contents of the left frame to be replaced
> by a new, 
> personalised console and the contents of the right
> frame to be replaced 
> by the original dynamic page.
> 
> My question is this, How do I get the CGI to output
> one set of data to 
> the left frame and then rerun a different CGI with
> the main frame as 
> the target?
> 
> Dave
> 
> 
> -- 
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


=====
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d s+:++ a C++ UL++ US+ P+++ L++ 
W+++ w PS PE t++ b+ G e r+++ z++++
------END GEEK CODE BLOCK------

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to