in reply to Re: cookie problem (cgi101)
in thread cookie problem

i have understand your post bt wat am confused of wat to use in home.pl and wel.pl i see it as one scrip for 1 page

Replies are listed 'Best First'.
Re^3: cookie problem (cgi101)
by Anonymous Monk on Nov 12, 2014 at 20:36 UTC

    i have understand your post bt wat am confused of wat to use in home.pl and wel.pl i see it as one scrip for 1 page

    Its an example of how you should write your programs so that cookies work for you (Main prints, ThisPage or ThatPage return $headers, $body, which Main prints)

    Its an example based on code you posted for home.pl

    You should fix it up and write the same way for wel.pl