[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] read-cookie and set-cookie on same page
> 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é