I have come to the conclusion that I need to write a script that
issues a cookie, and another that retrieves a cookie and serves up a web
page.  To this end, I have looked at a few books, but they all seem to
gyrate around calling all kinds of library subroutines (which are never
shown,) etc. etc. making the topic totally opaque while sounding very...
erudite and... well, generally obtuse. 

    Me, I like to live close to the machine, not rely on all kinds of
subroutines that I don't understand.  I am a minimalist at heart.

     Can anyone either explain with minimal code exactly how a cookie is
sent, and how a cookie is retrieved?  Or point me to a web site, or send
me some minimalist code that illustrates this?  And I do mean minimalist.

      Say I have a state identified as "State-A" with Identity "I".  What
does the resulting cookie.... um, "page" or "transaction text" look like? 
I know for a minimal web page, it is just a few print statements, starting
with the Content-Type line, and very little else. So what text block does
the CGI program have to send to the browser?  Does it send it via the
regular page route? Or does it have to go through some socket gyrations?

      Then let us say I have a page request received from a browser.  What
do I send to the browser to ask it for Cookie "I"?  Does Cookie "I", when
it comes, invoke another CGI program, or has my program remained alive? 
And having received cookie "I", do I then just send the web page in the
usual manner?

      (Do I have to buy that quarter foot thick book on cookie formation,
buy a cookie oven, then rely on pre-packaged "Betty Webber" or "Websburay
Cookie Dough Mix"?  Is it THAT complex????  Or can I just get some perl
flour, a little bit of binary olive oil, (Imported from Linuxia,) and some
other things, and mix my own?  When I scanned the book, it seemed to be
talking about everything BUT the essential transaction!  It CAN'T be that
complicated!!!)  (Can it?) 


-J- (C) 1997, [EMAIL PROTECTED] ----------- http://www.mall-net.com/javilk
--- Laugh at yourself, Our Creator loves company -- and You! ---------------
--- After all, we wouldn't want our Creator to cancel the show, would we? --
----------------------------------------------------------------------------
Another Javilk (tm) brand post,   <a href="http://www.mall-net.com/javilk/">
now available through mall-net.com at: http://www.mall-net.com/javilk  </A>
Anti-spam FAQ: <A href="http://www.mall-net.com/spamfaq.html">Stop SPAM</a>




 

      
____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to