Hey

I am setting up shopping facilities for an online purchases and thought I
would try modperl.  Problem is I am trying to set a cookie and then read
from it in the same handler, by setting the cookie then redirecting to the
same page.  This is because the script will need to be called from many
different places, just passing different store_ids and product_ids.

Currently it sets the cookie and appears to redirects but i can then not
read the cookie value.

This might be a stoopid question but your help is appreciated.

The "logic":-) of my program goes like this...
Handler runs routine which checks if cookie exists - if it does it returns
the value, if cookie not set - it sets up the cookie(name,md5 value etc)
then redirects to itself.  Then when it reloads it will check for a
cookie, which should be now set, then return the value.

Surely there is a modperl shopping cart already??!!  Where does one go to
find it, I have been searching the net for a few days now.

Thanks Heaps!!

P.S. Please reply directly as I am not in the list yet.

[EMAIL PROTECTED]

A genius makes no errors,
his mistakes are portals of discovery - James Joyce

Reply via email to