in reply to Re^2: 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

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