Current time: 12-07-2019, 06:41 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
setCookie only works on repeat call?
08-30-2016, 09:48 PM
Post: #1
setCookie only works on repeat call?
When I set a cookie using below script:
setCookie http://anysite.domain.com name=value
navigate http://anysite.dommain.com/anypage.html

The result is not what I expect. The result should display the same image output in first view and the repeat view - but it doesn't. The expected image always shows up in the repeat view, but never in the first view.

[attachment=632]

This seems basic and it would surprise me if this is a bug, but I cannot figure out what I am doing wrong. Isn't it supposed to set the cookie for the first request?

Anyone got any ideas?
Thanks
Find all posts by this user
Quote this message in a reply
08-31-2016, 10:00 PM
Post: #2
RE: setCookie only works on repeat call?
For those following along, we had an email thread and the script appears to be doing what it should and the cookie is being sent correctly. Looks like the issue is elsewhere in the application logic for handling the cookie.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)