rejetto forum
Software => HFS ~ HTTP File Server => Bug reports => Topic started by: raybob on April 16, 2011, 03:00:12 PM
-
Whenever I try to put in something like {.cookie|test.} on a page, it always shows this:
macro error: cookie
not supported or illegal parameters
I also tried creating a cookie and then retrieving it in your test.vfs that you sent me, and I got the same result, so hopefully you'll be able to reproduce the issue. I'm using build 277.
Also, I may be doing something wrong but when setting a cookie I can't get the path or expires parameters to work right either, it always says expires at end of session. Here's an example of what I put in:
{.cookie|signedup|value=yes|expires=+10|path=/.}
-
cookie bug fixed in next release (278).
thanks for reporting.
other report moved to http://www.rejetto.com/forum/index.php/topic,9619.0.html
-
When settings a cookie, the parameters for path and expires still don't work.
Whatever I put in, the path always reads as / in the browser, and the expires is always at the end of session.
Reading cookies does now work, however.
-
yes, there's a bug. Fixed in next release (281)
thanks for reporting
-
If you need parameters you can bypass the problem with {.add header|Set-Cookie: cookie=value; Path=/; expires=Mon, 31-Dec-2029 00:00:01 GMT; .}