[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] cookie again, sorry
Karl wrote:
>
> ****** message to minivend-users from "Karl" <friend@forfree.at> ******
>
> in the flycat there is no real catalog aso page. so the first possible page
> to check it is the basket.i also tried larry´s tip, same result. basicly it
> looks like that also if larry´s script is place immediatly after the [body]
> <script......
> the read cookie works the second time the page is loaded. the result is the
> same with the JavaScript cookie and the MV cookie. when reloading the page
> check is ok and no error message is displayed.
>
> but the customers should be warned the first time they load the basket page,
> because if not they loose the arlready collected parts.
>
> karl
>
I believe, you are able to create a little page between the index.html
and the flycat.
For example a introtest.html after the index page...
[if type=explicit compare="[read-cookie MV_SESSION_ID]"]
<HTML><HEAD><TITLE>No Cookie</TITLE></HEAD>
<BODY>
<BR>
<BR>
You have a non-cookie-browser or the cookie is deactivate! <BR>
</BODY>
</HTML>
[else]
<HTML><HEAD><TITLE> The intro page</TITLE></HEAD>
<BR>Please wait a moment!<BR>
<BODY>
<BR>
If your browser is stalling, then ...........
<A href="http://__SERVER_NAME__/cgi-bin/yourshop">go on</A>!<BR><BR>
</BODY>
</HTML>
[tag op=header interpolate=1]
Status: 302 moved
Location: [area href="theflypage"]
[/else]
[/if]
Or you use a dirty trick like
[if type=explicit compare="[read-cookie MV_SESSION_ID]"]
<--! No cookie try again -->
[if type=explicit compare="[read-cookie MV_SESSION_ID]"]
<--! If the browser has cookie! Ok go on!-->
Sorry! No cookie!
[else]
Ok! You have cookie!
[/else]
[/if]
[/if]
The above codes ask the browser two times!
Good lucks,
Joachim
--
-------------Hans-Joachim Leidinger---------------------