MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

cookie again, sorry



thanks for the tip jojo. basicly this works really fine. there is only the
exception that when the customer gets the first time on the basket page i
want to add a message that he has to accept cookies if he doesn´t. and now
with this solution i added:

<TH COLSPAN="7" BGCOLOR="[dv header_bgcolor]"><FONT SIZE=5 COLOR="[dv
header_textcolor]">[L]Inhalt Ihres Warenkorbes[/L]</FONT>
<FONT COLOR="[dv header_textcolor]" SIZE="1">
<BR>
[if type=explicit compare="[read-cookie MV_SESSION_ID]"]
test cookie set
[else]
<font color="[dv error_body]" size="2">
F\xfcr Ihren Einkauf im Shop von [dv site_name] m\xfcssen Sie in Ihrem
Browser Cookies akzeptieren.
</font>
[/else]
[/if]

at the first time the basket page is displayed the error message appears in
any case cookie or non-cookie browser. when reloading the page, or accepting
the cookie and continuing shopping with coming back to the basket page
everything works fine.

looks like minivend sets the cookie after i check it with read-cookie?

best regards,

karl




Search for: Match: Format: Sort by: