What is SW and why would ShopSite by default need to set a cookie for some other
software program?
I am not familiar with the cookie-lib.pl library, in the past I have used the
functions built-in to the CGI perl module, which is installed by default with almost
every perl installation I have seen in years. The functions are pretty simple and
fairly well documented online, see the syntax explained at
www.perldoc.com here:
http://www.perldoc.com/perl5.8.0/lib/CG ... TP-COOKIES-Loren
Sherry Land wrote:
I was using a library I found called cookie-lib.pl. Then I tried using the
Set-Cookie command manually. The script hung. Do you know of some recommended
perl cookie code? Then I tried using perl-generated Javascript. But I think by
that point I too frustrated to get that to work. Too many escape characters.
I am suprised that ShopSite doesn't provide some mechanism to store the Order ID
on a client machine for the SW digital download to access. We were planning on
writing the OrderID as a cookie and having the SW installation program read it.
Sherry
Loren wrote:
Sherry,
I've read cookies via an Order API script before, I have not set them there,
but should be the same principle, and I don't think there would be any
tricks to it or anything that ShopSite would be doing to get in the way.
What is the cookie code you are using? Are you doing it manually or are you
using the CGI perl module's functions for settings cookies?
-Loren
Sherry Land wrote:
I am trying to save the Order ID on a customer's computer as a cookie by
modifying the perl script custom-dump.pl.
I'm a fairly experienced web programmer and am comfortable with perl,
but I've spent hours on this thing and can't see the cookie appearing in
my cookies folder.
There must be some fundamental issue I am not understanding. I've tried
writing this cookie in both perl and in javascript. I see the shopsite
"pre-baked" cookies, but mine are never written.
Can anyone give me some pointers!!!
Thanks,
Sherry Land
sland@neuralog.com