Do you want your cookies to expire immediately or not?  If so, you should look
at the EXPIRES attribute in the documentation of the <@ASSIGN> tag.  You can
also right click on the cookie variable you set in an assign action to pull up
more options for setting cookies.  Personally, I've never had the problem you
are describing below.  Have you looked a the cookie file in your browser cache
to see if that cookie is getting set?  I HAVE had a problem with setting a
cookie to empty before.  The result was that the next time the cookie was read,
it contained what looked like the user reference id.  I could have been trash
though.

Mike

ISABELLE wrote:

> Hi everybody
>
> Is there someone who has problem with "assign" function for cookies?
>
> I have tried both solutions (action command or wrote
> "<@assign...scope="cookie">")  and the result is the same...
> When i assign only one cookie, it works great, but when i assign more than
> one, 3 for example, only one of the 3 is really assigned.
>
> Worst : When the user came for the first time on the page, only the
> userreference is assigned in not permanent cookie, all others cookies
> assigned in the same page are ignored.
>
> My simple example:
>
> Testcook1.taf :
>
> <@ASSIGN NAME="A" VALUE="First" SCOPE="cookie">
> <@ASSIGN NAME="B" VALUE="Second" SCOPE="cookie">
> <@ASSIGN NAME="C" VALUE="third" SCOPE="cookie">
>
> @@cookie$A - @@cookie$B - @@cookie$C
>
> Testcook2.taf
>
> @@cookie$A - @@cookie$B - @@cookie$C
>
> I have try this on explorer on mac and on PC. And it is the same result...:
>
> " - - " on the page...
>
> Please is it a bug or not?
> Is there a modification to do in the witango.ini ?
>
> Regards
>
> Isabelle
>
> Ps : my configuration : Mac osx 10.2 server + witango 5 server beta version
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body

--
Mike Tyranski
Lynch2
p: 847.608.6900
f: 847.608.9501
http://www.lynch2.com


________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to