rejetto forum
May 25, 2012, 11:57:10 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Cookies don't work  (Read 1161 times)
0 Members and 1 Guest are viewing this topic.
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« on: April 16, 2011, 10:00:12 AM »

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=/.}

« Last Edit: April 16, 2011, 10:14:26 AM by raybob95 » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #1 on: April 23, 2011, 07:06:18 AM »

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
Logged
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« Reply #2 on: May 03, 2011, 05:18:46 PM »

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.
« Last Edit: May 03, 2011, 05:22:45 PM by raybob95 » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #3 on: May 04, 2011, 12:09:19 PM »

yes, there's a bug. Fixed in next release (281)
thanks for reporting
Logged
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« Reply #4 on: September 01, 2011, 02:27:06 PM »

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; .}
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 24, 2012, 01:29:55 AM