Ankur Gupta <mailto:[EMAIL PROTECTED]> 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 introduction to both
techniques.

 
http://ironbark.bendigo.latrobe.edu.au/subjects/CN/2004/lectures/l20.d/Lect2
0.html


: I mean that I can store all the parameters in the cookie but
: how can I pass the parameters to the CGI script.

    HTTP cookies are covered near the end of the CGI.pm docs.
You may not want to hold *every* value in the cookie. Sometimes
you use the cookie to point to (sensitive) data on the server.

    Take a look at CGI::Session. It has a tutorial with it,
CGI::Session::Tutorial.



HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to