Re: Post to a second CGI script

2002-07-31 Thread perl-dvd
<[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 6:06 PM Subject: Post to a second CGI script Hello All, I have 2 scripts. One accepts 3 values LOGIN_USERNAME, LOGIN_PASSWORD and ACTION from an HTML form. That script looks in a user table in MySQL to verify the user. If valid, it passes th

Re: Post to a second CGI script

2002-07-30 Thread Randal L. Schwartz
> "Jim" == Jim Lundeen <[EMAIL PROTECTED]> writes: Jim> Ok, perhaps not the most eloquent of methods, but here's what I Jim> did (putting my little knowledge of JavaScript to use!)... If the answer is "javascript", you're not done yet. Many corporate firewalls filter javascript. Many indiv

Re: Post to a second CGI script

2002-07-30 Thread zentara
On Mon, 29 Jul 2002 20:06:09 -0400, [EMAIL PROTECTED] (Jim Lundeen) wrote: >Here's the question: How to I "post" the LOGIN_USERNAME and USN to the >MENU.CGI script? I don't want the user "carrying" the info around in >the "Location" bar as "?USN=1234&LOGIN_USERNAME=somebody" -- I want it >to be

Re: Post to a second CGI script

2002-07-30 Thread Steve Grazzini
Jim Lundeen <[EMAIL PROTECTED]> wrote: > > I have 2 scripts. One accepts 3 values LOGIN_USERNAME, LOGIN_PASSWORD > and ACTION from an HTML form. That script looks in a user table in > MySQL to verify the user. If valid, it passes them to MENU.CGI with > LOGIN_USERNAME and a unique session numb

Re: Post to a second CGI script

2002-07-29 Thread Connie Chan
Use cookies is the best choice. or use frame to hide any URIs as alt. Rgds, Connie - Original Message - From: "Jim Lundeen" <[EMAIL PROTECTED]> To: "begin begin" <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 8:06 AM Subject: Post to a second CGI scr

Re: Post to a second CGI script

2002-07-29 Thread Jim Lundeen
Ok, perhaps not the most eloquent of methods, but here's what I did (putting my little knowledge of JavaScript to use!)... sub loadmenu { print < LOADMENU exit; } So basically, my 1st CGI prints this form to the user's browser and in the same split second

Re: Post to a second CGI script

2002-07-29 Thread David T-G
Jim -- ...and then Jim Lundeen said... % % Hello All, Hi! % % I have 2 scripts. One accepts 3 values LOGIN_USERNAME, LOGIN_PASSWORD % and ACTION from an HTML form. That script looks in a user table in % MySQL to verify the user. If valid, it passes them to MENU.CGI with % LOGIN_USERNAME a

Re: Post to a second CGI script

2002-07-29 Thread Jim Lundeen
with the user. Thanks! Troy May wrote: > Use cookies. > > -Original Message- > From: Jim Lundeen [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 5:06 PM > To: begin begin > Subject: Post to a second CGI script > > Hello All, > > I have

RE: Post to a second CGI script

2002-07-29 Thread Troy May
Use cookies. -Original Message- From: Jim Lundeen [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 5:06 PM To: begin begin Subject: Post to a second CGI script Hello All, I have 2 scripts. One accepts 3 values LOGIN_USERNAME, LOGIN_PASSWORD and ACTION from an HTML form. That

Post to a second CGI script

2002-07-29 Thread Jim Lundeen
Hello All, I have 2 scripts. One accepts 3 values LOGIN_USERNAME, LOGIN_PASSWORD and ACTION from an HTML form. That script looks in a user table in MySQL to verify the user. If valid, it passes them to MENU.CGI with LOGIN_USERNAME and a unique session number (USN). Here's the question: How t