[ic] read-cookie and set-cookie on same page

Rene Hertell interchange-users@interchange.redhat.com
Sun Mar 31 02:53:01 2002


> I just tried this on my test macbine:
>
>     [set-cookie name="test"
>             value="[calc][read-cookie test]+1[/calc]"
>             expire="Fri, 31-May-2002 23:59:59 GMT"]
>     [read-cookie test]
>
> The page showed the previous value of the cookie each time I
> reloaded the page, as expected.
>
> My browser was configured to throw away new cookies on exit,
> so it didn't work across sessions until I enabled the facility.
> I've disabled it again now.

Kevin, I got this to work, but if I specify the path or domain, then the
page-loading process hangs when reloading...

René