PerlSOL has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, Hope this is posted in the right section. about 10 years ago I wrote a few scripts for a friend of mine, these scripts control a shopping cart created by ourselves, the old secure server they ran on were windows 2000 server with an older version of active states perl (forget which version), The server melted and has been replace with iis7 32bit and perl v5.14.2.1402, but now the scripts don't work properly, the scripts use both the get and post method to read input from the browser but it seems like it's remembering var's are remenbering there values or it's caching them, cant quite get to the bottom of this or even understand what it's doing or why... so, anyone else had any issues like this?
Updatethanks for your prompt reply, one pattern I can see... I log in for first time and am presented with password please, this is then taken, encrypted and compared to the embedded encrypted password, once successful it will append the password to the get/url so when posted back you remain logged in, if it detects a password then it doesn't encrypt as its already been done so it just compares it again, but this is where it's failing and proceeds to encrypt it again thus no longer being the same on the next compare, I tried bypassing this section just to prove a point but he problem then proceeds throughout the rest of the script (hope this makes sense)
Update SOLVEDThis turned out to be more of a iis7 issue than a perl related but I hope this helps others in the search for knowledge. Basically install perl as advised by activestate but do not use perlEx30.dll to map your isapi module, use perlis.dll
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: script stops working after upgrade
by Anonymous Monk on Jun 02, 2012 at 10:41 UTC |