hi folks,
i've got an awful problem.
i'm building a shop. when the user regitrates, he has to put som personal data which i check online.
every check costs money, so i limit his tries to 3.
when registration starts i do this:
if(!session_is_registered("errcount")
session_register("errcount");
$errcount = 0;
fine.
when the error occurs i say $errcount++;
(clear.)
yesterday it worked fine. when i checked today id didn't.
i've tried everything: $http_session_vars["errcount"]++; and so on.
i even tried:
$x = $errcount;
session_unregister("errcount");
$errcount= $x;
$errcount++;
session_register("errcount");
but $errcount bravely holds its initial value.
config: win2k iis (i wanted to take apache but we've got ssl-key for iis only), track_vars and trans_sid and all stuff is on.
i'd really apriciate help.
thanks riese