NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How to see the result of setcookie()?


Joined: 09 Dec 2013
Posts: 1
Reply with quote
I downloaded your software to try to fix a very annoying bug my website has. Your SW is awesome, really!

BTW, the bug stays somewhere in my cookies...there is a call to setcookie() which is not working and the cookies are not being set.
To fix the bug i need to see the result of the function setcookie() to see if it actually works or not.

How can i see immediately if setcookie() is working or not?
How can i see cookies like variables (changing after each debug step)?

The variable $_COOKIE is not an option, because it's not updated immediately after setcookie, but on the following request.

Thanks
View user's profileFind all posts by naskaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7901
Reply with quote
Sorry, with php related questions please use php.general news-group http://news.php.net/
Also you may want to check HTTP protocol RFCs, or at least HTTP and Cookie pages at Wikipedia.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
How to see the result of setcookie()?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic