Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to pass a variable ($linux_host) from a CGI script(Master.cgi) to another CGI script(test.cgi) using java script as below-
and am able to access the variable in 2nd CGI script (test.cgi) which is a popup window requires user to enter the userid & submit the form."<a href=javascript: onClick=window.open('/cgi-bin/test.cgi?host=$li +nux_host','TEST','width=600,height=600')>Reboot</a>"
But when the form is submitted i am not able to access the host name. How can i retain(access) the host variable which is passed from 1st script(Master.cgi)
Regards, SS
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting Variable value after submitting cgi form
by almut (Canon) on Jun 09, 2009 at 10:16 UTC | |
by Anonymous Monk on Jun 09, 2009 at 11:56 UTC | |
by Corion (Patriarch) on Jun 09, 2009 at 11:59 UTC | |
by Anonymous Monk on Jun 09, 2009 at 12:06 UTC | |
by Corion (Patriarch) on Jun 09, 2009 at 12:12 UTC | |
|