I have the following code at the beginning of the ACED page:
Any ideas on why this is happening? Thanks in advance.
Paul
<mvt:if expr="g.Action AND g.Action EQ 'ICST'">
<mvt:item name="toolkit" param="pgrpinsert|maxgrp|CustomerLoyalty" />
<mvt:assign name="g.cookie_count" value = "miva_struct_members( g.request_cookies, g.cookies)" />
<mvt:if expr="'__ss_loyalty' CIN g.cookies">
<mvt:item name="couponrd" param="addpoints|Initialized|Welcome Bonus Points|'100'" />
<mvt:assign name="g.output_header" value="miva_output_header('Set-Cookie','__ss_loyalty=valid; expires=Tue, 24-Jul-2010 00:00:01 GMT; path=/;')" />
</mvt:if>
</mvt:if>
In the last step, I'm attempting to delete the previously checked cookie by setting it to a past date. It appears that the cookie is in fact being deleted as desired, but I am also somehow losing the logged-in state (although the customer link at the top of the screen seems to imply they are, clicking on it brings you to the LOGN page instead of the ACLN page.)<mvt:item name="toolkit" param="pgrpinsert|maxgrp|CustomerLoyalty" />
<mvt:assign name="g.cookie_count" value = "miva_struct_members( g.request_cookies, g.cookies)" />
<mvt:if expr="'__ss_loyalty' CIN g.cookies">
<mvt:item name="couponrd" param="addpoints|Initialized|Welcome Bonus Points|'100'" />
<mvt:assign name="g.output_header" value="miva_output_header('Set-Cookie','__ss_loyalty=valid; expires=Tue, 24-Jul-2010 00:00:01 GMT; path=/;')" />
</mvt:if>
</mvt:if>
Any ideas on why this is happening? Thanks in advance.
Paul
Comment