RE: How to save the state of a CGI script

2005-05-30 Thread Charles K. Clarkson
Ankur Gupta wrote: : Hi Charles, Hi. : I am fairly new to use the CGI module. So I would like to know : how a cookie would be different from a hidden field. Take a look at this page. It is a general discussion about shopping cart scripts. It gives a decent int

RE: How to save the state of a CGI script

2005-05-30 Thread Ankur Gupta
From: Charles K. Clarkson [mailto:[EMAIL PROTECTED] > Ankur Gupta wrote: > > : Thanks a lot guys for the help. I guess I have to use hidden fields. > > You could also use a session cookie. Hi Charles, I am fairly new to use the CGI module. So I would like to kn

RE: How to save the state of a CGI script

2005-05-30 Thread Charles K. Clarkson
Ankur Gupta wrote: : Thanks a lot guys for the help. I guess I have to use hidden fields. You could also use a session cookie. HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

RE: How to save the state of a CGI script

2005-05-30 Thread Ankur Gupta
From: David Dorward,,, [mailto:[EMAIL PROTECTED] On Behalf Of > On Sat, May 28, 2005 at 09:57:55PM +0530, Ankur Gupta wrote: > > > I read perldoc CGI and found that state of a script could > be saved by > > the following function. > > > $myself = $query->self_url; > > print q(I'm talk

Re: How to save the state of a CGI script

2005-05-30 Thread David Dorward
On Sat, May 28, 2005 at 09:57:55PM +0530, Ankur Gupta wrote: > I read perldoc CGI and found that state of a script could be saved by the > following function. > $myself = $query->self_url; > print q(I'm talking to myself.); Not quite. If you used "qq" so that the string would interpolate

RE: How to save the state of a CGI script

2005-05-30 Thread Ankur Gupta
From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] > > "Ankur" == Ankur Gupta <[EMAIL PROTECTED]> writes: > > Ankur> a.cgi calls b.cgi through POST method. > > Why? Why? CGI is a protocol that permits a server to launch > a process to handle a browser hit. > > YOU SHOULD NOT HAVE CGI "c

Re: How to save the state of a CGI script

2005-05-29 Thread Randal L. Schwartz
> "Ankur" == Ankur Gupta <[EMAIL PROTECTED]> writes: Ankur> a.cgi calls b.cgi through POST method. Why? Why? CGI is a protocol that permits a server to launch a process to handle a browser hit. YOU SHOULD NOT HAVE CGI "calling" EACH OTHER. :-( -- Randal L. Schwartz - Stonehenge Consulti

Re: How to save the state of a CGI script

2005-05-29 Thread Randal L. Schwartz
> "Ankur" == Ankur Gupta <[EMAIL PROTECTED]> writes: Ankur> a.cgi calls b.cgi through POST method. I am collecting all the parameters Ankur> using the param function. Ankur> b.cgi draws a table based on the input from a.cgi's form. Ankur> The table's row are initially sorted by first column.