The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.19-0ubuntu0.18.04.2 (Linux)
File Line Function
/showthread.php 802 errorHandler->error



Current time: 10-20-2019, 05:29 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
Post Reply 


Messages In This Thread
setCookie only works on repeat call? - d96mno - 08-30-2016 09:48 PM

Forum Jump:


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