[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] read-cookie and set-cookie on same page
Hi,
I'm having a few problems with cookies.
I have a test-page with a simple set-cookie tag:
[set-cookie name="test"
value="[calc][read-cookie test]+1[/calc]"
expire="Fri, 31-May-2002 23:59:59 GMT"
domain="__SERVER_NAME__"
path="/" ]
This works fine when I'm loading the page for the first time (or in a fresh
browse-window), but if I refresh the page, IC does not more respond.. I have
to open a new browser-window and enter that page again to get that cookie
set.
Is there any tricks in setting cookies, like where in the html-code the
set-cookie command should be placed? I have this code just in the middle of
my html-code, and it works on the first try just fine, but hangs on a
refresh...
Regards,
René