Question: I guys.

Have worked around with cookies in PHP for some time. However something came to my mind.

Does its possible to gather all cookies (without knowing its names), or at least list all cookies names present in a browser?

Regards.

Answer: 
```
print_r($_COOKIE)

```
No, cookies are domain specific. You could get more protection against cookie hijacking by configuring your cookies as HttpOnly, supported in PHP since 5.2.0.