Hi all, I'm new and have a question that is bothering me.
Ok I have 2 different webpages (in a frame)
what I want to do is read one frame's data (a table) into an array
and print it on the other frame.
(i'm doing this because one page i cannot modify (it's not mine) but I need the data from that page..)
I have a "login" page that you enter a "building" and "room number" and it sends a query to a perl script to look up what computers are in that building and room number. (Frame 1)
It also sends that "building" and "room" to a different database and prints that in frame 2.
The real question however is:
the page that I cannot modify, requires me to authenticate (i'm sending a query to a perl script ).
So on my "login" page the [form action="http://somewhere.mycompany.org/cgi-bin/perlscript.pl" target=frame1]
When I click "submit" that form AUTOMATICALLY makes me authenticate into domain (somewhere.mycompany.org)
Frame 2 however doesn't get authenticated and therefore cannot read data from frame 1.
How can I make frame 2 authenticate into that domain?
I've thought of 1 solution but this is a very shaky area for me:
make the user authenticate into the domain BEFORE both pages load but I have no idea HOW to do that?
do I point to that perl script and then redirect to my 2 frames??
I'm just not sure and I got stuck and I would greatly appreciate some guidance or leads.
Thanks
Chris
x-posted to
javascript and
developers
Ok I have 2 different webpages (in a frame)
what I want to do is read one frame's data (a table) into an array
and print it on the other frame.
(i'm doing this because one page i cannot modify (it's not mine) but I need the data from that page..)
I have a "login" page that you enter a "building" and "room number" and it sends a query to a perl script to look up what computers are in that building and room number. (Frame 1)
It also sends that "building" and "room" to a different database and prints that in frame 2.
The real question however is:
the page that I cannot modify, requires me to authenticate (i'm sending a query to a perl script ).
So on my "login" page the [form action="http://somewhere.mycompany.org/cgi-bin/perlscript.pl" target=frame1]
When I click "submit" that form AUTOMATICALLY makes me authenticate into domain (somewhere.mycompany.org)
Frame 2 however doesn't get authenticated and therefore cannot read data from frame 1.
How can I make frame 2 authenticate into that domain?
I've thought of 1 solution but this is a very shaky area for me:
make the user authenticate into the domain BEFORE both pages load but I have no idea HOW to do that?
do I point to that perl script and then redirect to my 2 frames??
I'm just not sure and I got stuck and I would greatly appreciate some guidance or leads.
Thanks
Chris
x-posted to
javascript and
developers